Google Image generation for iterative drafts
Gemini 3.1 Flash Image Preview
Explore reusable layouts, lighting alternatives, and quick storyboards.
Google describes the Gemini 3.1 Flash Image family as an efficiency-oriented image model. TokenHot's Preview route is listed under a distinct model ID. Compare candidates in the interface and format you plan to use.
- Text-to-image
- One optional Playground reference
- USD per image
The public text example sets imageConfig to 16:9 and 2k. The Playground sends an optional reference to generateContent as inline image data. Check the exact model ID and edit payload before automating a workflow.
Try this model
Choose an aspect ratio and resolution to generate an image.
gemini-3.1-flash-image-previewInput
Generated result
Enter a prompt, choose your settings, and generate.
USD /image
Pricing
| Group | Tier | Price |
|---|---|---|
| default | 1K | $0.0672 |
| default | 2K | $0.1008 |
| default | 4K | $0.1344 |
| Claud0.7 | 1K | $0.04704 |
| Claud0.7 | 2K | $0.07056 |
| Claud0.7 | 4K | $0.09408 |
Public list prices are shown in USD. Final charges may vary by account group and usage tier.
Overview
What is Gemini 3.1 Flash Image Preview?
Set the target placement before drafting. Review each candidate at its delivery size, compare edits with the source, and use the live price table for the exact route.
Specify the placement
Provide the composition, subject, and space required for copy or crop.
Name the details to preserve
Attach one approved image in the Playground and describe which elements should change.
Check the actual candidate
Inspect returned dimensions and compare the artwork with the brief before accepting it.
From brief to deliverable
Put Gemini 3.1 Flash Image Preview to work
Event design teams
Explore a consistent event-card grid
Keep framing and background instructions constant. Generate a separate motif for each event category.
- Tools you need
- The TokenHot Playground and a layout or side-by-side review tool.
- Keep in mind
- Compare the cards side by side. Similar prompts can still give noticeably different scale and contrast.
View a task brief
Create a square illustration for the supplied event category. Use one simple silhouette, a pale background, and the shared accent color. Leave space for a headline.
Outdoor content teams
Test a new light treatment on a trail photo
Ask for one lighting change and describe which contours and landmarks must remain recognizable.
- Tools you need
- The TokenHot Playground and a layout or side-by-side review tool.
- Keep in mind
- A generated study may change scenery. Use the original photo when documentary accuracy matters.
View a task brief
Use the attached trail photo as a reference. Keep the path, ridge, and horizon in the same positions. Shift the light to a softer overcast mood.
Short-form content teams
Compare three framings for a product storyboard
Request a wide, medium, and detail frame as separate images. Compare the story each framing tells before shooting.
- Tools you need
- The TokenHot Playground and a layout or side-by-side review tool.
- Keep in mind
- These are still drafts. Check product geometry and review motion separately when planning video.
View a task brief
Use the handheld fan reference. Draft one still for the supplied shot distance and angle, with enough space around the subject to plan the next cut.
Capabilities in context
Key features
| Feature | What you get | Why it matters |
|---|---|---|
| Exact TokenHot model ID | gemini-3.1-flash-image-preview | Use this ID in your request. |
| Published generation example | POST /v1beta/models/gemini-3.1-flash-image-preview:generateContent | See the generation example for the request structure. |
| Playground attachment | One optional JPG or PNG up to 10 MB | The Playground sends an optional reference to generateContent as inline image data. |
| Playground output controls | Five aspect ratios, with 1K, 2K and 4K size choices | Check returned dimensions at your selected ratio. |
| Pricing display | USD per image | Read current route rates and any size or account-group tiers in the live table. |
Provider materials describe model-family capabilities. TokenHot's route and Playground show their own controls. The scene illustrations were made with ImageGen to explain these workflows. TokenHot route and API example · Google image model selection
Audience & fit
Where Gemini 3.1 Flash Image Preview fits
Event design teams
A set of draft card illustrations for a grid review.
Outdoor content teams
An alternate atmosphere study to compare with the source.
Short-form content teams
A still-image storyboard to plan the shot sequence.
Cost context
Plan the cost of a useful result
Check the current route
Use the live TokenHot price table for the selected model ID and account.
Count concept and edit attempts
Include rejected drafts and changes when estimating the cost of a finished asset.
Choose size for the placement
Proof the layout at the intended scale before requesting higher-resolution candidates.
Use the current pricing table for available rates and account groups. Model IDs and prices come from TokenHot’s catalog; provider pricing and subscriptions are separate.
API
Code examples
curl --location --request POST 'https://api.tokenhot.ai/v1beta/models/gemini-3.1-flash-image-preview:generateContent' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"role": "user",
"parts": [
{
"text": "draw a baby"
}
]
}
],
"generationConfig": {
"responseModalities": [
"TEXT",
"IMAGE"
],
"imageConfig": {
"aspectRatio": "16:9",
"imageSize": "2k"
}
}
}'FAQ
Frequently asked questions
What is Gemini 3.1 Flash Image Preview best suited for?
Gemini 3.1 Flash Image Preview is suited to the input, output, and capability types listed on this page. Test production workloads before choosing it for a critical system.
How is Gemini 3.1 Flash Image Preview priced?
Pricing is shown in the pricing section above. Actual cost depends on usage volume, account group, and the request payload.
How can I call Gemini 3.1 Flash Image Preview?
Use the model ID shown above with one of the supported API protocols. Code examples are provided when usage data is available.
Which TokenHot model ID should I use?
Use gemini-3.1-flash-image-preview. The published generation example is POST /v1beta/models/gemini-3.1-flash-image-preview:generateContent.
What input does the published example use?
A text prompt. The example requests a 16:9 image at 2K.
Can I attach a reference in the Playground?
Yes. The Playground accepts one optional JPG or PNG up to 10 MB. The Playground sends an optional reference to generateContent as inline image data.
Should I replace the Preview ID with a stable Gemini name?
Keep the exact Preview ID shown on TokenHot. Google's current model names describe its own API. Verify any change to the TokenHot route before migration.
How should I estimate project cost?
Use the current per-image price for your chosen route and size, including revisions and candidates you discard.
Get started
Build with Gemini 3.1 Flash Image Preview
API