WaveSpeedImage to imageComing soon

x-ai/grok-imagine-image-quality/edit

x-ai/grok-imagine-image-quality/edit is an image to image tool from WaveSpeed that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
image
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
images requiredlist—The images to edit. A maximum of 3 reference images can be uploaded.
prompt requiredtext—The prompt for image generation or editing.
num_imagesnumber (whole)
1 to 4
1Number of images to generate. Range: 1-4.
resolutionone of
1k, 2k
1kOutput resolution tier.
aspect_ratioone of
auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
autoAspect ratio of the generated image.
output_formatone of
jpeg, png, webp
jpegOutput image format.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "wavespeed",
    "model": "x-ai/grok-imagine-image-quality/edit",
    "input": {
      "images": [
        "<images>"
      ],
      "prompt": "<prompt>"
    }
  }'