Ideogram 3.0 Reframe
Extends an image beyond its borders.
| Model ID | ideogram-3.0-reframe |
| Task | expand-image |
| Output | image |
| Family | Ideogram |
| Status | Active |
Prices are live, so this page does not show them. GET /v1/models/ideogram-3.0-reframe returns the published price (price), and POST /v1/quotes returns the binding maximum for one request, with the processor that will run it. You are never charged more than the quoted maximum, and failed work is free. See Pricing and quotes.
Parameters
Section titled “Parameters”Send these in input. Omitted parameters take their default; unknown parameters are refused with 422 parameter_unknown. The same schema is input_schema in GET /v1/models/ideogram-3.0-reframe.
| Name | Type | Default | Allowed | Required | Description |
|---|---|---|---|---|---|
aspect_ratio |
string | 16:9 |
15 values, listed below | No | The new frame shape. The image is extended to fill it. |
speed |
string | balanced |
turbo, balanced, quality |
No | Quality renders more detail and costs more. |
count |
integer | 1 |
1 to 8 | No | How many images to make. Each one is charged. |
style_preset |
string | none |
63 values, listed below | No | An Ideogram style for the new area. None keeps the source image’s look. |
palette |
string | none |
none, ember, fresh, jungle, magic, melon, mosaic, pastel, ultramarine |
No | An Ideogram colour palette for the new area. None keeps the source image’s colours. |
seed |
integer | 0 |
0 to 2147483647 | No | The same seed with the same settings gives a similar result. Omit it for a random seed. |
aspect_ratio values
Section titled “aspect_ratio values”1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 16:10, 10:16, 2:1, 1:2, 3:1, 1:3
style_preset values
Section titled “style_preset values”none, 80s-illustration, 90s-nostalgia, abstract-organic, analog-nostalgia, art-brut, art-deco, art-poster, aura, avant-garde, bauhaus, blueprint, blurry-motion, bright-art, c4d-cartoon, childrens-book, collage, coloring-book-i, coloring-book-ii, cubism, dark-aura, doodle, double-exposure, dramatic-cinema, editorial, emotional-minimal, ethereal-party, expired-film, flat-art, flat-vector, forest-reverie, geo-minimalist, glass-prism, golden-hour, graffiti-i, graffiti-ii, halftone-print, high-contrast, hippie-era, iconic, japandi-fusion, jazzy, long-exposure, magazine-editorial, minimal-illustration, mixed-media, monochrome, nightlife, oil-painting, old-cartoons, paint-gesture, pop-art, retro-etching, riviera-pop, spotlight-80s, stylized-red, surreal-collage, travel-poster, vintage-geo, vintage-poster, watercolor, weird, woodblock-print
Media inputs
Section titled “Media inputs”Each media input takes an asset ID (asset_…), a generation ID (gen_…, its first output), a public HTTPS URL or a small data: URI. URLs and data URIs are imported into the project first; see Uploading media.
| Name | Accepts | How many | Required | Notes |
|---|---|---|---|---|
source |
image | 1 | Yes |
Example
Section titled “Example”Price the request first. A quote is free and starts nothing:
curl https://api.halationlab.ai/v1/quotes \ -H "Authorization: Bearer $HALATIONLAB_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d @- <<'JSON'{ "model": "ideogram-3.0-reframe", "input": { "aspect_ratio": "16:9", "source": "https://docs.halationlab.ai/media/sample-image.png" }}JSONThen start it, paying at most MAX_COST tokens. If the price is higher, nothing starts and the 402 max_cost_exceeded answer carries the quote:
MAX_COST=${MAX_COST:?Set MAX_COST to the most you will pay, in tokens}curl https://api.halationlab.ai/v1/generations \ -H "Authorization: Bearer $HALATIONLAB_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Prefer: wait=60" \ -H "Content-Type: application/json" \ -d @- <<JSON{ "model": "ideogram-3.0-reframe", "input": { "aspect_ratio": "16:9", "source": "https://docs.halationlab.ai/media/sample-image.png" }, "max_cost": $MAX_COST}JSONThe media URLs point at small sample files on this site. Replace them with your own asset IDs, generation IDs or URLs.