falText to imageComing soon

fal-ai/wan/v2.2-a14b/text-to-image

fal-ai/wan/v2.2-a14b/text-to-image is a text 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.0325 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
prompt requiredtext—The text prompt to guide image generation.
negative_prompttextNegative prompt for video generation.
seednumber (whole)—Random seed for reproducibility. If None, a random seed is chosen.
num_inference_stepsnumber (whole)
2 to 40
27Number of inference steps for sampling. Higher values give better quality but take longer.
enable_prompt_expansiontrue or falsefalseWhether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.
accelerationone of
none, regular
regularAcceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'.
guidance_scalenumber
1 to 10
3.5Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.
guidance_scale_2number
1 to 10
4Guidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model.
shiftnumber
1 to 10
2Shift value for the image. Must be between 1.0 and 10.0.
image_sizeJSONsquare_hdThe size 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/wan/v2.2-a14b/text-to-image",
    "input": {
      "prompt": "In this breathtaking wildlife documentary, we are drawn into an intimate close-up of a majestic lion'\''s face, framed against the backdrop of a vast African…"
    }
  }'