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

Gemini CLI · Image

How to Use Kling O3 Text to Image in Gemini CLI

Kling O3 Text to Image creates cinematic stills, concept art, and connected image sequences from written descriptions. Unlike Kling O3 Image to Image, it lets you develop a scene without a starting image.

Prompts to try with Kling O3 Text to Image in Gemini CLI

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

Read the project's creative brief and use Kling O3 Text to Image to create a four-image storyboard at 2K in 16:9. Give each image a distinct story beat and keep the location, clothing, and lighting consistent.

Kling O3 Text to ImageGemini CLI
Try asking
  • Read the environment brief and use Kling O3 Text to Image to create a 4K concept of the main location. Specify the camera position, surface materials, light direction, and focal point.

  • Read the project's art direction and use Kling O3 Text to Image to create a three-image comic scene at 2K. Keep the same character description and color treatment while changing the framing for each story beat.

  • Generate a product photo with Kling O3 Text to Image: 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 Kling O3 Text to Image.

How to set up Kling O3 Text to Image 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 Kling O3 Text to Image

    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/kling-image/o3/text-to-image",
        "input": {
          "prompt": "A poster design says '\''Kling Omni 3 Image is available on fal'\'' with a cool font in the background as several rows and big font size. Big gap between the rows.…"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Kling O3 Text to Image on Spiral, shows the price and runs it.

Kling O3 Text to Image providers and prices

Spiral runs Kling O3 Text to Image through fal. Open a card for today's price, with every fee included.

falImage
Kling Image · Text to Image
fal-ai/kling-image/o3/text-to-image

Settings you can ask for

Kling O3 Text to Image works from your prompt. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Resolution1K, 2K, or 4K1K

Image generation resolution. 1K: standard, 2K: high-res, 4K: ultra high-res.

Result typesingle or seriessingle

Result type. 'single' for one image, 'series' for a series of related images.

Number of images1 to 91

Number of images to generate (1-9). Only used when result_type is 'single'.

Series amount2 to 9

Number of images in series (2-9). Only used when result_type is 'series'.

Aspect ratio16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, or 21:916:9

Aspect ratio of generated images.

Output formatjpeg, png, or webppng

The format of the generated image.

Every API field of Kling Image · Text to Image is on its tool page: open its card above.

What can you do with Kling O3 Text to Image in Gemini CLI?

Turn project briefs into scene concepts, campaign images, and storyboard sequences with Kling Image O3. A coding agent can use the project's written requirements to draft shot descriptions and keep the visual direction consistent.

Film storyboard planning

Map a scene into establishing views, character interactions, and close-ups with a shared lighting direction.

Product campaign concepts

Develop a connected set of product scenes with consistent materials, color treatment, and atmosphere.

Set and environment visualization

Explore locations, surface materials, and lighting before committing to a physical set or detailed 3D scene.

Character concept development

Explore a character's appearance, clothing, pose, and place within a scene through coordinated concept images.

Comic scene planning

Plan a short visual sequence with distinct framing for each story beat and a consistent overall style.

Product material studies

Examine how glass, fabric, metal, or other surfaces could appear under a specified lighting treatment.

Questions about Kling O3 Text to Image in Gemini CLI

Can Gemini CLI use Kling O3 Text to Image?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Kling O3 Text to Image like any built-in tool.

How much does Kling O3 Text to Image cost in Gemini CLI?

`resolution`: 1K (default) $0.0364, 2K $0.0364, 4K $0.0728 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 Kling O3 Text to Image in Gemini CLI?

No. Spiral runs Kling O3 Text to Image on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Kling O3 Text to Image in Gemini CLI?

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

Does Gemini CLI wait while Kling O3 Text to Image runs?

Kling O3 Text to Image runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

What is Kling Image O3 good at?

Kling Image O3 suits cinematic stills, concept art, storyboards, and scene visualization. Describe the framing, lighting, materials, and focal subject to give it a clear visual target.

Can Kling Image O3 create a connected image sequence?

Yes. Image Series Mode creates two to nine related images, making it useful for storyboards and coordinated campaigns. Specify the sequence in order and describe the visual details that should remain consistent.

Does Kling Image O3 generate native 4K images?

Yes, it supports native 2K and 4K output. Use 4K when fine material detail matters, such as product texture studies or scene designs.

How should I prompt Kling Image O3?

Describe the subject and setting, then specify composition, camera angle, lighting, focus, and color treatment. For a sequence, give each image a clear role, such as establishing view, interaction, and detail.

How long can a Kling Image O3 prompt be?

Keep the prompt within 2,500 characters. For a storyboard, spend that space on the shot order and details that must carry across the images.

Get started

Start using Kling O3 Text to Image 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