Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · ImageReleased 2025-03-16

How to Use Sana 1.5 4.8B in Gemini CLI

Sana 1.5 4.8B turns written scenes into illustrations and concept art. It has three times the parameters of Sana 1.5 1.6B and emphasizes matching images to their descriptions.

Prompts to try with Sana 1.5 4.8B in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Read the homepage copy and use Sana 1.5 4.8B to create a 1024 × 1024 illustration concept for the gardening service: a small rooftop greenhouse at sunrise, terracotta pots, and soft green foliage. Keep lettering out of the artwork and save the result in the project's image assets.

Sana 1.5 4.8BGemini CLI
Try asking
  • Use Sana 1.5 4.8B to generate a 1024 × 1024 illustration for the reading app's empty library screen: an open book beside a sleeping cat, warm desk light, and a simple background. Match the palette defined in the project's styles.

  • Read the game design brief and use Sana 1.5 4.8B to create a 1024 × 1024 environment concept of its abandoned mountain observatory. Emphasize weathered copper, snow on stone steps, and a low viewpoint.

  • Use Sana 1.5 4.8B to create a 1024 × 1024 background for the event page: a moonlit outdoor cinema with empty chairs and a screen. Keep the upper third quiet, then render the event title as HTML over that area.

  • Use Sana 1.5 4.8B to explore the project's fictional tea packaging art at 1024 × 1024: ink illustrations of tea leaves and a mountain stream. Keep the label text in the existing layout, and compare results at guidance 4 and 5 before selecting an image.

How to set up Sana 1.5 4.8B in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run Sana 1.5 4.8B

    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/sana/v1.5/4.8b",
        "input": {
          "prompt": "Underwater coral reef ecosystem during peak bioluminescent activity, multiple layers of marine life - from microscopic plankton to massive coral structures,…"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Sana 1.5 4.8B on Spiral, shows the price and runs it.

Sana 1.5 4.8B providers and prices

Spiral runs Sana 1.5 4.8B through fal. Open a card for today's price, with every fee included.

falImage
Sana v1.5 4.8B · Text to Image
fal-ai/sana/v1.5/4.8b

Settings you can ask for

Sana 1.5 4.8B works from your prompt. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

The negative prompt to use. Use it to address details that you don't want

in the image. This could be colors, objects, scenery and even the small details

(e.g. moustache, blurry, low resolution).

Number of inference steps1 to 5018

The number of inference steps to perform.

Seeda whole number

The same seed and the same prompt given to the same version of the model

will output the same image every time.

Guidance scale (CFG)0 to 205

The CFG (Classifier Free Guidance) scale is a measure of how close you want

the model to stick to your prompt when looking for a related image to show you.

Number of images1 to 41

The number of images to generate.

Output formatjpeg or pngjpeg

The format of the generated image.

Style name(No style), Cinematic, Photographic, Anime, Manga, Digital Art, Pixel art, Fantasy art and 2 more(No style)

The style to generate the image in.

Every API field of Sana v1.5 4.8B · Text to Image is on its tool page: open its card above.

What can you do with Sana 1.5 4.8B in Gemini CLI?

Create illustration concepts from the project's written brief and place selected artwork in the interface. Use the agent to keep typography in code and review generated details before adding assets.

Website illustration concepts

Explore artwork for a gardening service, travel guide, or reading app. Describe the subject and leave clear space for the page's headline.

Editorial artwork

Turn an article's central idea into a visual metaphor, such as a crowded greenhouse for a story about urban growing. Add captions separately.

Game environment concepts

Explore fictional settings before production: a flooded observatory, a desert railway station, or a mountain village. Specify viewpoint, materials, and lighting.

Poster backgrounds

Create artwork for a film night or community event with an intentional empty area for typography. Finish the title, date, and venue in a layout tool.

Fiction illustrations

Sketch a scene from a story using its setting, mood, and focal subject. Review the result against the passage before choosing it.

Packaging art exploration

Develop decorative artwork for an imaginary tea, coffee, or stationery collection. Keep labels and required lettering outside the generated image.

Lesson illustration drafts

Create imaginative scenes for writing exercises or classroom discussion. Review any factual details before using the artwork in teaching materials.

Questions about Sana 1.5 4.8B in Gemini CLI

Can Gemini CLI use Sana 1.5 4.8B?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Sana 1.5 4.8B like any built-in tool.

How much does Sana 1.5 4.8B cost in Gemini CLI?

$0.013 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Default 8 MP per image. Billed on `num_images`, default 1. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need a fal account to use Sana 1.5 4.8B in Gemini CLI?

No. Spiral runs Sana 1.5 4.8B on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Sana 1.5 4.8B in Gemini CLI?

About two minutes: add the server, then sign in, then check it.

Does Gemini CLI wait while Sana 1.5 4.8B runs?

Sana 1.5 4.8B runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

What is Sana 1.5 4.8B useful for?

Use it for illustrations, concept art, and visual design exploration from written descriptions. Start with tasks where you can review the composition and refine the brief.

Does Sana 1.5 4.8B generate 4K images?

The served model is advertised for 4K output. The maker describes the underlying checkpoint as using a 1024-pixel base resolution, so distinguish output dimensions from native training resolution.

Can Sana 1.5 4.8B make posters with readable text?

Complex readable text is a documented limitation. Generate the artwork with space for a headline, then add the lettering in a design tool.

How reliable are realistic people and hands?

The maker documents imperfect photorealism and possible errors in fingers. Check hands closely before using a portrait or a scene with people.

Should I increase guidance or generation steps?

More steps usually improve image quality. Higher guidance pushes the image toward the description but can hurt quality, so change one setting at a time and compare the results.

Get started

Start using Sana 1.5 4.8B in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options