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

Instinct · Image

How to Use Grok Imagine Image Edit in Instinct

Grok Imagine Image Edit revises existing artwork with written instructions. Unlike Grok Imagine Image, it starts with supplied images, making it useful for changing a scene while asking to retain its composition.

Prompts to try with Grok Imagine Image Edit in Instinct

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

Each Monday, use Grok Imagine Image Edit on the approved garden illustration. Change one seasonal detail, such as the flowers in the planter, while asking to preserve the viewpoint, paths, furniture, and subject placement. Return a 2K image for review.

Grok Imagine Image EditInstinct
Try asking
  • Before each monthly campaign review, use Grok Imagine Image Edit on the approved workshop illustration. Adjust the lighting to the month's chosen mood while keeping the tools, people, architecture, and framing. Collect the 2K result with the source for comparison.

  • Every Monday at 9am: remove the background from the photo I attach with Grok Imagine Image Edit and give me a transparent PNG.

  • Use Grok Imagine Image Edit to clean up these product shots so they sit on pure white.

  • Edit this image with Grok Imagine Image Edit: keep the subject, swap the background for a sunlit studio.

How to set up Grok Imagine Image Edit in Instinct

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

Use the Spiral skill

  1. Send Instinct 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 Spiral's MCP server

  1. Create an API key

    In the console, open API keys and create a key for Instinct. Copy it.

  2. Send Instinct this message

    Instinct reads Spiral's skill and asks for your API key.

    set up https://spiral.ai/SKILL.md
  3. Give Instinct the key

    When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

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 Grok Imagine Image Edit

    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": "xai/grok-imagine-image/edit",
        "input": {
          "prompt": "Make this scene more realistic but still keep the game vibes"
        }
      }'

Then paste one of the prompts above: Instinct finds Grok Imagine Image Edit on Spiral, shows the price and runs it.

Grok Imagine Image Edit providers and prices

Spiral runs Grok Imagine Image Edit through fal. Open a card for today's price, with every fee included.

falImage
Grok Imagine Image · Edit Image
xai/grok-imagine-image/edit

Settings you can ask for

Grok Imagine Image Edit works from your prompt and image URLs. Ask Instinct for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Image passthroughon or offoff

Send edit references and return provider images without resizing or re-encoding, preserving transparency and metadata. The returned native format may differ from output_format.

Number of images1 to 41

Number of images to generate.

Aspect ratioauto, 2:1, 20:9, 19.5:9, 16:9, 4:3, 3:2, 1:1 and 6 moreauto

Aspect ratio of the edited image. When set to auto (the default), the output preserves the aspect ratio of the first input image.

Resolution1k or 2k1k

Resolution of the generated image. 1k for standard resolution, 2k for high resolution.

Output formatjpeg, png, or webpjpeg

The format of the generated image.

Every API field of Grok Imagine Image · Edit Image is on its tool page: open its card above.

What can you do with Grok Imagine Image Edit in Instinct?

Prepare recurring still artwork for an editorial calendar or campaign. Give the agent a stable visual brief and have it collect the results for review before publication.

Website illustrations

Develop an illustration for a feature page, with a clear focal subject and space reserved for the heading. Create new artwork from a brief or revise an existing illustration.

Editorial artwork

Illustrate an article's central idea with a single readable scene. Specify the setting, viewpoint, and lighting, or adapt existing artwork to the article's subject.

Game environment concepts

Explore a harbor, workshop, or research station before committing to production art. Use a written scene brief or develop an existing environment concept.

Social campaign artwork

Develop still illustrations around a campaign theme. Define the subject and composition, and leave room for final campaign copy to be added during design.

Scene revisions

Revise supplied artwork with a focused instruction. Name the requested change and the camera position, proportions, and framing you want retained.

Architectural image cleanup

Remove temporary construction clutter from a supplied building image for a proposed presentation. Ask to preserve the building's proportions and perspective, then inspect the reconstructed areas.

Questions about Grok Imagine Image Edit in Instinct

Can Instinct use Grok Imagine Image Edit?

Yes. Add Spiral to Instinct as an MCP server, and Instinct can find and run Grok Imagine Image Edit like any built-in tool.

How much does Grok Imagine Image Edit cost in Instinct?

`resolution`: 1k (default) $0.0286, 2k $0.0286 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 Instinct plan is separate.

Do I need a fal account to use Grok Imagine Image Edit in Instinct?

You need no fal account. Instinct uses one Spiral API key for every tool, and Spiral runs Grok Imagine Image Edit on its own fal account.

How long does it take to set up Grok Imagine Image Edit in Instinct?

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

Does Instinct wait while Grok Imagine Image Edit runs?

Grok Imagine Image Edit runs in the background. Instinct starts the run, checks on it and gives you the image when it's ready.

What is Grok Imagine Image useful for?

Try it for illustrations, editorial artwork, and game concepts. Layer's comparison describes its output as cleaner, flatter, and more cartoon-like than Grok Imagine Image 2.0, making stylized briefs a useful starting point.

What is the largest output resolution?

Grok Imagine Image supports output up to 2K. Use 1K to explore a composition, then request 2K for the selected direction.

How should I write a Grok Imagine Image prompt?

Describe the subject, setting, composition, lighting, and visual finish in full sentences. For example, specify an overhead view and soft light from the left instead of asking for a good-looking image.

What needs extra review?

Review photorealistic details and any lettering before using the result. Fal positions Grok Imagine Image (Quality) as offering higher fidelity for photorealism and text rendering, so allow room for revisions on those tasks.

Does Grok Imagine Image make video?

No. Grok Imagine Image produces still images; write the brief around one composition rather than a sequence of actions.

Get started

Start using Grok Imagine Image Edit in Instinct

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

Paste this into Instinct:

Set up Instinct

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