# Let Claude Code make the images.

Your page needs an image. Ask Claude Code to generate it in this session.

Provider in the worked example: StableStudio.

Price shown for this route: 3¢ per image.

## What it can do

### Generate an image

Choose an image model and resolution. Flux 2 Pro at 0.5 MP quoted 2¢ on 9 September 2026.

Price: 3–21¢.

### Edit an image

Use a supported edit endpoint to change an existing image. Check the model’s accepted inputs first.



### Generate a video

Request a video from a supported model. Duration and settings affect the quote.

Price: from 40¢.

### Convert an image to SVG

Convert a raster image to SVG. Inspect the paths before using it as a logo or icon.



## Connect your agent

Read the [Claude Code setup guide](https://taskfuel.ai/docs/setup-cli/).

Use one TaskFuel account and prepaid balance. Inspect the provider and request quote before a paid call, then review the returned response and recorded charge.

## When to use it

### Replace the placeholder.

Generate the asset while the layout and file path are in context.

### Add the article image.

Use the draft as the brief, then inspect the image before saving it.

### Edit without losing the original.

Request a variation and compare it with the source file.

## Questions

### Can Claude Code generate images?

Not on its own: Claude Code is a coding agent, not an image model. Give it access to one and it generates images in the same session it writes the code, either with a provider API key of your own or with a pay-per-call balance like TaskFuel.

### Do I need my own API key for Claude Code?

No. One TaskFuel account and one prepaid balance covers it. TaskFuel pays the provider and bills your balance, so nothing lands in your shell history and no key sits in the repo Claude Code is working in.

### What does an image cost in Claude Code?

From 3¢ with Flux 2 Pro up to 21¢ for GPT Image 2 at high quality. Nano Banana, Flux 2 Max and Grok Image are 7¢; Nano Banana Pro and GPT Image 1.5 are 13¢. Claude Code reads the exact price before it pays, so a long session cannot surprise you.

### Which model should I use for a hero image?

Nano Banana Pro at 13¢ if the image carries text, because it renders type most reliably. Flux 2 Pro at 3¢ while you are still iterating on the composition. At that price you can try a dozen directions for the cost of one stock photo.

### Can Claude Code edit an image I already have?

Yes. Every image model has a matching edit endpoint, so Claude Code can recolour, replace a background or restyle an existing asset rather than regenerating it from scratch.

### Does Claude itself generate images?

No. Claude and Claude Code both build diagrams and charts as code or SVG, but neither produces photos or illustrations without an image model behind it. The same TaskFuel balance covers both.

## Reference

- [Read this guide on the website](https://taskfuel.ai/tools/image-generation/claude-code/).
- [Browse providers and capabilities](https://taskfuel.ai/catalog/).
- [Pricing](https://taskfuel.ai/pricing/).
- [Agent instructions](https://taskfuel.ai/llms.txt).
