Image Edit
FastRouter API Key. Get yours at https://fastrouter.ai
Format: Authorization: Bearer YOUR_API_KEY
The image(s) to edit. Must be PNG, WEBP, or JPG and smaller than 50MB each. Supports up to 16 images.
Single image file
Array of image files (up to 16)
Text description of the desired modification. Max length: 32,000 characters for gpt-image-1.
Change the color of the cycle to blueMust be 'openai/gpt-image-1'
openai/gpt-image-1Possible values: Number of edited images to generate (1-10)
1Output image size. Options: 1024x1024, 1536x1024, 1024x1536, or auto
1024x1024Possible values: Output image format: png, jpeg, or webp
pngPossible values: Compression level (0-100) for JPEG or WEBP outputs. Higher values mean better quality.
100Optional PNG mask file (< 4MB). Transparent areas indicate regions to edit. Must match dimensions of the first input image.
Controls background transparency: transparent, opaque, or auto. If transparent, output format must be png or webp.
autoPossible values: Format of the response data
urlPossible values: Image edited successfully
Bad Request - Invalid parameters or image format
Invalid Credentials - Your API key is invalid, disabled, or your OAuth session has expired. Check your credentials.
Payload Too Large - Image exceeds 50MB limit
Rate Limited - You have exceeded your request limits (TPM/RPM). Slow down or increase your limits.
Internal Server Error
Last updated
