opencheap.si
鸣谢

Grok Imagine Image

xAIImagesgrok-imagine-image

Try it

xAI's image model from Grok. Quick, lively pictures from a prompt, plus edits of up to five reference images.

Examples

Made with Grok Imagine Image through OpenCheap's API, as they came back. Under each: what was asked, the settings and what the call cost.

未来城市中一条雨中的街道上,霓虹灯照亮了夜市,湿漉漉的沥青路面映出光影,电影般的广角镜头

“A neon-lit night market on a rainy street in a future city, reflections on wet asphalt, cinematic wide shot”

16:91K

Cost $0.016

湿漉漉的石质台面上放着一瓶冷压橙汁,瓶身凝结着水珠,柔和的工作室灯光,浅景深,产品照片

“A glass bottle of cold-pressed orange juice on a wet stone counter, condensation drops, soft studio light, shallow depth of field, product photo”

1:11K

Cost $0.016

一位留着白胡子、戴着针织帽的老渔夫在港口“黄金时刻”的肖像,85毫米照片,皮肤细节清晰

“Portrait of an old fisherman with a white beard and a knitted cap at golden hour on a harbour, 85 mm photo, detailed skin”

3:41K

Cost $0.016

Try Grok Imagine Image

$0.016

Runs on your account at this price, like an API call. Media needs a top-up first.

Your image shows here. An image takes a few seconds to a minute.

What it makes

Images from a prompt.

  • Resolution: 1K, 2K
  • Shape (width:height): 1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 2:1, 1:2, auto
  • Can follow images you send

Price

Per image

Each provider's price for each setting. A call goes to the cheapest one that can make it, and you pay that provider's price: the one in bold.

SettingAPIMartkie.ai
1K$0.016$0.02
2K$0.016—

Each image you send with the prompt adds $0.0016.

A call never costs more than the price shown, and costs less when the provider charges less. A call that fails is not charged. Media needs a top-up first: the free credit does not cover it.

Call Grok Imagine Image

Use your OpenCheap key and the model id grok-imagine-image at https://api.opencheap.si/v1. The OpenAI SDK works as it is. Links in the answer expire, so save what you make. Read the guide.

curl
curl https://api.opencheap.si/v1/images/generations \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-image",
    "prompt": "A red fox asleep in fresh snow, soft morning light",
    "resolution": "1k",
    "aspect_ratio": "1:1"
  }'
# The answer: {"data": [{"url": "https://…"}], …}. The link expires: save the image.