Varosity

Grok Imagine Image 2.0 API

Grok Imagine Image 2.0, xAI's newest image model, via WaveSpeed — 2K photoreal images and edits from a reference image. 8¢ an image (9¢ for an edit) on Varosity Credits.

$0.08/img on Varosity credits.

no WaveSpeed account needed · provider's list price, no markup · failed renders never billed

Best for

  • xAI's newest image model
  • 2K photoreal images
  • edits from a reference image

How to get the best result

Grok Imagine Image 2.0, xAI's newest image model: 2K photoreal images (people, products, scenes) with legible short text, and edits from a reference image that keep the rest of the picture. Pick instead: grok-imagine-image for 2¢ drafts; nano-banana-2.1 for designs and in-image text; flux-1-schnell for 1¢ exploration.

Prompting

  • Describe the subject, composition, lighting, style and camera angle in plain sentences.
  • For an edit, pass referenceImageUrl and describe only the change.

Settings on Varosity

  • Always 2K at medium quality; 8¢ an image, 9¢ as an edit with referenceImageUrl.
  • aspectRatio 1:1, 16:9 or 9:16; an edit follows the reference image's shape.

Avoid

  • Other shapes such as 4:5 or 21:9: REST /v1/images and MCP generate_image refuse them before anything is charged.

Example prompt

A ceramic coffee mug on a sunlit kitchen counter, steam rising, soft morning light from a window, shallow depth of field, product photo.

From wavespeed.ai, wavespeed.ai, checked against what Varosity sends.

Call it from your code

One Varosity key works for every model.

curl -X POST https://varosity.ai/api/v1/images \
  -H "Authorization: Bearer $VAROSITY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "studio product shot of a matte black water bottle, soft rim light",
    "modelId": "grok-imagine-image-2.0",
    "aspectRatio": "1:1"
  }'

Or ask your agent

Connect Claude, Cursor, or any MCP client to https://varosity.ai/api/mcp with your key, then say:

"Use Varosity with grok-imagine-image-2.0 to generate an image of …"
Agent setup guide

Alternatives to Grok Imagine Image 2.0