falImage to imageComing soon
fal-ai/gpt-image-1.5/edit
fal-ai/gpt-image-1.5/edit is an image to image tool from fal 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 pendingPricing
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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The prompt for image generation |
image_urls required | URLs or files | — | The URLs of the images to use as a reference for the generation. |
image_size | one of auto, 1024x1024, 1536x1024, 1024x1536 | auto | Aspect ratio for the generated image |
background | one of auto, transparent, opaque | auto | Background for the generated image |
quality | one of low, medium, high | high | Quality for the generated image |
input_fidelity | one of low, high | high | Input fidelity for the generated image |
num_images | number (whole) 1 to 4 | 1 | Number of images to generate |
output_format | one of jpeg, png, webp | png | Output format for the images |
mask_image_url | text | — | The URL of the mask image to use for the generation. This indicates what part of the image to edit. |
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": "fal",
"model": "fal-ai/gpt-image-1.5/edit",
"input": {
"prompt": "Same workers, same beam, same lunch boxes - but they'\''re all on their phones now. One is taking a selfie. One is on a call looking annoyed. Same danger, new…",
"image_urls": [
"<image_urls>"
]
}
}'