falImage to imageComing soon
fal-ai/hy-wu-edit
fal-ai/hy-wu-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 text prompt describing the desired edit. Supports both English and Chinese. Use specific instructions like 'Replace the clothing on figure 1 with the outfit from figure 2'. |
image_urls required | URLs or files | — | URLs of input images for editing. Typically 2 images: the base image and the reference image. Supports up to 3 images. |
image_size | JSON | auto | The desired size of the generated image. If auto, image size will be determined by the model. |
num_inference_steps | number (whole) 1 to 100 | 30 | Number of diffusion denoising steps. |
seed | number (whole) | — | Random seed for reproducible results. If None, a random seed is used. |
num_images | number (whole) 1 to 4 | 1 | The number of images to generate. |
enable_thinking | true or false | true | Enable thinking mode. The model reasons about the edit before generating, producing higher quality results at the cost of longer inference time. Disable for faster results on straightforward edits. |
output_format | one of jpeg, png | png | The format of the generated 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": "fal",
"model": "fal-ai/hy-wu-edit",
"input": {
"prompt": "Using image 1 as the base image, replace the outfit with the clothing from image 2 while keeping the subject, pose, and background unchanged.",
"image_urls": [
"<image_urls>"
]
}
}'