falImage to imageComing soon

fal-ai/ideogram/character

fal-ai/ideogram/character 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.065 per image. Billed on num_images, default 1. 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_urlsURLs or files—A set of images to use as style references (maximum total size 10MB across all style references). The images should be in JPEG, PNG or WebP format
rendering_speedone of
TURBO, BALANCED, QUALITY
BALANCEDThe rendering speed to use.
color_paletteJSON—A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members)
style_codeslist—A list of 8 character hexadecimal codes representing the style of the image. Cannot be used in conjunction with style_reference_images or style
styleone of
AUTO, REALISTIC, FICTION
AUTOThe style type to generate with. Cannot be used with style_codes.
expand_prompttrue or falsetrueDetermine if MagicPrompt should be used in generating the request or not.
num_imagesnumber (whole)
1 to 8
1Number of images to generate.
seednumber (whole)—Seed for the random number generator
prompt requiredtext—The prompt to fill the masked part of the image.
image_sizeJSONsquare_hdThe resolution of the generated image
negative_prompttextDescription of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt.
reference_image_urls requiredURLs or files—A set of images to use as character references. Currently only 1 image is supported, rest will be ignored. (maximum total size 10MB across all character references). The images should be in JPEG, PNG or WebP format
reference_mask_urlslist—A set of masks to apply to the character references. Currently only 1 mask is supported, rest will be ignored. (maximum total size 10MB across all character references). The masks should be in JPEG, PNG or WebP format

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/ideogram/character",
    "input": {
      "prompt": "Place the woman leisurely enjoying a cup of espresso while relaxing at a sunlit café table in Siena, Italy. The café setting showcases vintage wooden furniture…",
      "reference_image_urls": [
        "<reference_image_urls>"
      ]
    }
  }'