Ideogram Vector Text to SVG
ideogram/vector/text-to-vectorGenerate and edit images from text with Ideogram Vector Text to SVG from fal through one Spiral API key. Generates editable SVG vector graphics from text prompts, with optional reference images, three quality levels, and aspect ratio controls. It runs in the background and returns images. Pay as you go, with no subscription.
Pricing
$0.208 per run at the default inputs. quality: low $0.169, medium (default) $0.208, high $0.26. Per unit of num_images: low $0.169, medium (default) $0.208, high $0.26.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | A text description of the SVG to generate. |
quality | one of low, medium, high | medium | Generation quality. |
num_images | number (whole) 1 to 8 | 1 | Number of SVGs to generate. |
aspect_ratio | one of auto, 1:1, 1:4, 1:3, 1:2, 9:16, 10:16, 2:3, 3:4, 4:5, 5:4, 4:3, 3:2, 16:10, 16:9, 2:1, 3:1, 4:1 | auto | The aspect ratio of the generated SVG. |
seed | number (whole) 0 to 2147483647 | — | Seed for reproducible generation. |
image_urls | URLs or files | — | Optional reference images (up to 5, max 10MB each). The first image is the primary source; the others are additional references. |
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": "ideogram/vector/text-to-vector",
"input": {
"prompt": "A playful cat logo with bold outlines and flat colors"
}
}'Frequently asked questions
How much does Ideogram Vector Text to SVG cost?
$0.208 per run at the default inputs. `quality`: low $0.169, medium (default) $0.208, high $0.26. Per unit of `num_images`: low $0.169, medium (default) $0.208, high $0.26. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Ideogram Vector Text to SVG through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "ideogram/vector/text-to-vector"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Ideogram Vector Text to SVG?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Ideogram Vector Text to SVG?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.