How to Use Ideogram 2a in opencode
Use Ideogram 2a for posters, logo concepts, and realistic images built from a written brief. Unlike Ideogram 2a Remix, it starts from text alone.
Prompts to try with Ideogram 2a in opencode
Copy an example into opencode, or ask in your own words.
Read the project README and use Ideogram 2a to create a square logo concept for the project. Quote its exact name, pair it with one simple symbol, and use the colors described in the project.
Use Ideogram 2a to create a portrait cover concept for this project's handbook. Place "Small tools" prominently above a detailed illustration of a wooden workbench, using rust red and black.
Generate a product photo with Ideogram 2a: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first. Save the result in ./assets.
Make four logo concepts for a coffee brand called "Northline" with Ideogram 2a.
Create a 16:9 hero image of a quiet mountain cabin at dusk with Ideogram 2a.
How to set up Ideogram 2a in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Ideogram 2a
One request; the result comes back by polling or a webhook.
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/v2a", "input": { "prompt": "A comic style illustration of a skeleton sitting on a toilet in a bathroom. The bathroom has a Halloween decoration with a pumpkin jack-o-lantern and bats…" } }'
Then paste one of the prompts above: opencode finds Ideogram 2a on Spiral, shows the price and runs it.
Ideogram 2a providers and prices
Spiral runs Ideogram 2a through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Ideogram 2a works from your prompt. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Aspect ratio | 10:16, 16:10, 9:16, 16:9, 4:3, 3:4, 1:1, 1:3 and 3 more | 1:1 | The aspect ratio of the generated image |
| Expand prompt | on or off | on | Whether to expand the prompt with MagicPrompt functionality. |
| Seed | a whole number | Seed for the random number generator | |
| Style | auto, general, realistic, design, render_3D, or anime | auto | The style of the generated image |
Every API field of Ideogram V2A · Text to Image is on its tool page: open its card above.
What can you do with Ideogram 2a in opencode?
Create poster, logo, and photographic concepts from the project's creative brief with Ideogram 2a. Use the agent to turn project copy into focused image requests and review lettering before adding assets.
Event poster concepts
Explore a poster built around a short event name, one central illustration, and clearly described headline placement. Check the lettering before using the design.
Logo direction studies
Compare a short brand name with different symbols, lettering, and color directions. Use the results to choose a visual direction.
Video thumbnail concepts
Develop a wide image with one clear subject and a brief headline. Compare how different compositions support the same message.
Book cover concepts
Explore a cover with a short title, a central visual, and a defined mood. Keep the design focused while comparing lettering and composition.
Merchandise graphic concepts
Try a short slogan paired with a simple illustration for a shirt or tote design. Inspect the words and small visual details before production.
Product photography concepts
Explore lighting, surfaces, and settings for a product image. Use the results to plan the look of a campaign or photography brief.
More on Ideogram 2a and opencode
Overview
Ideogram 2a in other agents
Questions about Ideogram 2a in opencode
Can opencode use Ideogram 2a?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Ideogram 2a like any built-in tool.
How much does Ideogram 2a cost in opencode?
$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need a fal account to use Ideogram 2a in opencode?
No. Spiral runs Ideogram 2a on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Ideogram 2a in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Ideogram 2a runs?
Ideogram 2a runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.
What is Ideogram 2a useful for?
Ideogram 2a is a good fit for posters, logo concepts, and realistic imagery. Its typography capabilities make designs with a short headline worth exploring.
How should I ask for words inside an image?
Put the exact wording in quotation marks near the start of the prompt. Keep it short, then describe its position and the surrounding scene.
How well does Ideogram 2a handle other languages?
English lettering is the more reliable choice. Check accented letters and non-Latin scripts closely, since they can render incorrectly or disappear.
When should I turn Magic Prompt off?
Turn it off when you want to test the wording you wrote. Leave it on when you want a short idea expanded before generation.
What should I inspect in images of people?
Check faces, hands, and limbs, especially when people occupy a small part of the frame. A closer composition gives those details more room.
Start using Ideogram 2a in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


