falImage to imageComing soon

fal-ai/image-editing/expression-change

fal-ai/image-editing/expression-change 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.

Priced by usage

Pricing

$0.052 per image. The final charge comes from usage.

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
image_url requiredURL or file—Image prompt for the omni model.
guidance_scalenumber
0 to 20
3.5The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
num_inference_stepsnumber (whole)
1 to 50
30Number of inference steps for sampling.
safety_toleranceone of
1, 2, 3, 4, 5, 6
2The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive.
output_formatone of
jpeg, png
jpegThe format of the generated image.
aspect_ratioone of
21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21
—The aspect ratio of the generated image.
seednumber (whole)—The same seed and the same prompt given to the same version of the model will output the same image every time.
prompttextsadThe desired facial expression to apply.

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/image-editing/expression-change",
    "input": {
      "image_url": "https://v3.fal.media/files/zebra/hAjCkcyly4gsS9-cptD3Y_image%20(20).png"
    }
  }'