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

Gemini CLI · Image

How to Use GPT Image 1.5 in Gemini CLI

Use GPT Image 1.5 to create illustrations, poster concepts, and product scenes from a written brief. Unlike GPT Image 1.5 Edit, it starts without a reference image.

Prompts to try with GPT Image 1.5 in Gemini CLI

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

Read the homepage copy and use GPT Image 1.5 to create a 1536×1024 editorial illustration for the article about repairing appliances. Show a technician examining an open toaster, use a two-color woodcut treatment, and leave the left third clear for the page headline.

GPT Image 1.5Gemini CLI
Try asking
  • Read the onboarding instructions and use GPT Image 1.5 to create a 1536×1024 three-panel illustration of the first three steps. Use the step names exactly as written, keep labels large, and save the result in the project's image assets.

  • Use GPT Image 1.5 to create a 1024×1024 PNG illustration for the empty reading list screen. Show an open book beside a sleeping orange cat, use a transparent background, and include no lettering.

  • Generate a product photo with GPT Image 1.5: 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 GPT Image 1.5.

How to set up GPT Image 1.5 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 GPT Image 1.5

    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/gpt-image-1.5",
        "input": {
          "prompt": "create a realistic image taken with iphone at these coordinates 41°43′32″N 49°56′49″W 15 April 1912"
        }
      }'

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

GPT Image 1.5 providers and prices

Spiral runs GPT Image 1.5 through fal. Open a card for today's price, with every fee included.

falImage
GPT-Image 1.5 · Text to Image
fal-ai/gpt-image-1.5

Settings you can ask for

GPT Image 1.5 works from your prompt. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Image size1024x1024, 1536x1024, or 1024x15361024x1024

Aspect ratio for the generated image

Backgroundauto, transparent, or opaqueauto

Background for the generated image

Qualitylow, medium, or highhigh

Quality for the generated image

Number of images1 to 41

Number of images to generate

Output formatjpeg, png, or webppng

Output format for the images

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

What can you do with GPT Image 1.5 in Gemini CLI?

Create illustrations, labeled graphics, and product scene concepts for the project you are building. Have the agent turn the project's content and visual requirements into a concrete image brief.

Event poster concepts

Create a poster from a written brief with GPT Image 1.5, or revise an existing poster with GPT Image 1.5 Edit. Specify the exact headline, its position, and the main illustration.

Explainer infographics

Illustrate a short process with labeled panels. Use GPT Image 1.5 for the initial concept or GPT Image 1.5 Edit to revise a supplied diagram.

Editorial illustrations

Develop an illustration for an article or newsletter with GPT Image 1.5. Use GPT Image 1.5 Edit when the illustration already exists and needs a different treatment.

Product scene concepts

Explore materials, lighting, and staging before a photo shoot. Use GPT Image 1.5 for an imagined product scene or GPT Image 1.5 Edit to work from an approved product photo.

Original character concepts

Use GPT Image 1.5 to explore an original character from a written description. Specify its silhouette, clothing, materials, and illustration medium.

Questions about GPT Image 1.5 in Gemini CLI

Can Gemini CLI use GPT Image 1.5?

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

How much does GPT Image 1.5 cost in Gemini CLI?

Up to $0.26 per run at the default inputs. `quality`: low $0.0169, medium $0.0663, high (default) $0.26. $0.26 per unit of `num_images`. 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 GPT Image 1.5 in Gemini CLI?

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

How long does it take to set up GPT Image 1.5 in Gemini CLI?

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

Does Gemini CLI wait while GPT Image 1.5 runs?

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

What is GPT Image 1.5 useful for?

Use it for illustrations, product scene concepts, infographics, and posters with text inside the image. Describe the intended use and the visual details that matter, such as materials, lighting, and panel arrangement.

What image sizes does GPT Image 1.5 produce?

It produces 1024×1024 square images, 1536×1024 landscape images, and 1024×1536 portrait images. Choose the composition for its destination before generating the image.

How should I request text inside an image?

Put the exact wording in quotation marks and describe where it belongs. For example: Place "Saturday plant swap" at the top in large black lettering.

Can GPT Image 1.5 produce a transparent background?

Yes. Explicitly request a transparent background and choose PNG or WebP so the output can retain transparency.

How should I brief a photorealistic image?

Describe the subject, materials, and lighting in concrete terms. A request for a brushed steel kettle beside a window gives a clearer target than a request for a beautiful product image.

Get started

Start using GPT Image 1.5 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