WaveSpeedImage to imageComing soon

openai/gpt-image-2/edit

openai/gpt-image-2/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—List of URLs of input images for editing.
prompt requiredtext—The positive prompt for the generation.
qualityone of
low, medium, high
mediumThe quality of the generated image. Higher quality costs more.
resolutionone of
1k, 2k, 4k
1kThe resolution of the output image.
aspect_ratioone of
1:1, 1:2, 2:1, 1:3, 3:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 9:21, 21:9
—The aspect ratio of the generated image. If not specified, it is determined automatically from the input image.
output_formatone of
png, jpeg, webp
pngThe format of the output image.

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": "openai/gpt-image-2/edit",
    "input": {
      "images": [
        "<images>"
      ],
      "prompt": "<prompt>"
    }
  }'