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

Gemini CLI · Image

How to Use Seedream 5.0 Flash Image Editing in Gemini CLI

Use Seedream 5.0 Flash Image Editing to replace objects, combine references, or revise existing artwork quickly. Compared with Seedream 5.0 Pro Image Editing, it favors speed when you need several rounds of changes.

Prompts to try with Seedream 5.0 Flash Image Editing in Gemini CLI

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

Use Seedream 5.0 Flash Image Editing to combine assets/scene.png, assets/product.png, and assets/logo.png. Take the composition from the first image, the product from the second, and the logo from the third.

Seedream 5.0 Flash Image EditingGemini CLI
Try asking
  • Use Seedream 5.0 Flash Image Editing to revise assets/poster.png with the approved translation in locales/es.json. Replace the headline and supporting copy, then identify lettering that needs review.

  • Use Seedream 5.0 Flash Image Editing to follow the marked regions in assets/layout-review.png. Replace the marked product with assets/product.png and remove the review marks from the resulting artwork.

  • Remove the background from the photo I attach with Seedream 5.0 Flash Image Editing and give me a transparent PNG. Save the result in ./assets.

  • Use Seedream 5.0 Flash Image Editing to clean up these product shots so they sit on pure white.

How to set up Seedream 5.0 Flash Image Editing 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 Seedream 5.0 Flash Image Editing

    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": "bytedance/seedream/v5/flash/edit",
        "input": {
          "prompt": "Replace the product in Figure 1 with that in Figure 2. Seamlessly render the logo in Figure 3 into the product design, in a frosted glass texture.",
          "image_urls": [
            "<image_urls>"
          ]
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Seedream 5.0 Flash Image Editing on Spiral, shows the price and runs it.

Seedream 5.0 Flash Image Editing providers and prices

Spiral runs Seedream 5.0 Flash Image Editing through fal. Open a card for today's price, with every fee included.

falImage
Seedream · Image Editing
bytedance/seedream/v5/flash/edit

Settings you can ask for

Seedream 5.0 Flash Image Editing works from your prompt and image URLs. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Number of images1 to 61

Number of separate model generations to run with the prompt.

Output formatjpeg or pngjpeg

The file format of the generated image.

Watermarkon or offoff

Whether to add the provider's visible watermark.

Image passthroughon or offoff

Preserve original reference and output image bytes, formats, and dimensions without resizing or re-encoding.

Backgroundopaque or transparentopaque

Use transparent with exactly one alpha-channel reference and PNG output to preserve transparency.

Every API field of Seedream · Image Editing is on its tool page: open its card above.

What can you do with Seedream 5.0 Flash Image Editing in Gemini CLI?

Turn project briefs and product copy into image concepts without leaving your development work. Use Seedream 5.0 to explore artwork and structured visual designs alongside implementation.

Product image revisions

Start with a product image and request a specific replacement or visual change, using a second reference when needed.

Poster localization

Start with existing artwork and replace its text with approved translated copy. Inspect lettering and surrounding design details afterward.

Sketch-guided revisions

Mark an existing image to show where an object belongs, then describe the replacement or addition in plain language.

Reference-based compositions

Combine a supplied scene, product reference, and logo reference into one composition, stating what each image contributes.

Questions about Seedream 5.0 Flash Image Editing in Gemini CLI

Can Gemini CLI use Seedream 5.0 Flash Image Editing?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Seedream 5.0 Flash Image Editing like any built-in tool.

How much does Seedream 5.0 Flash Image Editing cost in Gemini CLI?

$0.0351 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 Seedream 5.0 Flash Image Editing in Gemini CLI?

No. Spiral runs Seedream 5.0 Flash Image Editing on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Seedream 5.0 Flash Image Editing in Gemini CLI?

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

Does Gemini CLI wait while Seedream 5.0 Flash Image Editing runs?

Seedream 5.0 Flash Image Editing runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

What is Seedream 5.0 useful for?

Use it for visual concepts, text-rich graphics, and multilingual designs. Pro is especially suited to work where layout and image quality matter.

How do Seedream 5.0 Flash and Pro differ?

Flash favors faster generation and iteration. Pro prioritizes image quality, making it a useful choice for more demanding design work.

Can Seedream 5.0 handle multilingual artwork?

Yes. Pro and Flash support native multilingual generation, so localized posters and other graphics are practical uses.

Can Seedream 5.0 create infographics?

Yes. Use a clear information hierarchy and supply the content you want included; Pro is designed for dense layouts and structured designs.

What should I inspect before using an image?

Check small lettering and fine visual details before publishing. ByteDance acknowledges room for improvement in Pro's fine text rendering and editing consistency.

Get started

Start using Seedream 5.0 Flash Image Editing 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