Netwrck logo Netwrck
Netwrck > Tools > API Documentation > Gemini Flash Image

Gemini Flash Image API

Fast, high-fidelity images from Google's Gemini Flash image model, strong at photoreal scenes. One POST request returns a hosted image URL.

httpPOST /api/gemini-flash-image payments14 credits ($0.14) per image verifiedCredits refunded on failure
brushOpen Tool
Sign in to fill your API key automatically.

API Tester

Production endpoint
Status: idle
{}

Pricing & Credits

Cost Per Image

$0.14 USD

14 credits per image. One image per request.

Billing Policy

Reserved: 14 credits are deducted before generation starts

Failed: Automatically refunded in full

Only credits_charged in a successful response is billed

API Reference

POST /api/gemini-flash-image

Fast, high-fidelity images from Google's Gemini Flash image model, strong at photoreal scenes.

Request Format

Send a POST request with a JSON body. The API key may also be sent as X-API-Key or Authorization: Bearer.

ParameterTypeRequiredDescription
api_key string Required Your API key for authentication.
prompt string Required Text description of the image. Up to 4,000 characters.
size string Optional widthxheight. Default: 1024x1024. Only the listed sizes are accepted. Unsupported sizes return 400.
  • 1024x1024
  • 1536x1024
  • 1024x1536
seed integer Optional Fixes generation randomness for reproducible results where the model supports it.

Response Examples

Success Response (200 OK)

{
  "success": true,
  "image_url": "https://netwrckstatic.netwrck.com/static/uploads/example.webp",
  "images": ["https://netwrckstatic.netwrck.com/static/uploads/example.webp"],
  "model_used": "or/gemini-3.1-flash-image",
  "prompt_used": "Golden hour surf photo, telephoto compression",
  "size_used": "1024x1024",
  "cost": "0.14",
  "credits_charged": 14
}

Error Responses

Every error has success: false, an error message and a retryable boolean. Only retry when retryable is true, and never more than twice with backoff.

StatusretryableMeaning
400falseInvalid JSON, missing or oversized prompt, unsupported size, or the model rejected the prompt.
401falseMissing or invalid API key.
402falseInsufficient credits.
429trueThe model is busy.
502 / 504true or falseGeneration failed or timed out after 100 seconds. Credits are refunded.
{
  "success": false,
  "error": "Unsupported size for Gemini Flash Image",
  "retryable": false
}

Related

Browse every model on the API overview, or try the Gemini Flash Image tool in your browser.

Welcome Back to Netwrck



Forgot password?

Don't have an account? Sign up here

Join Netwrck - AI Art & Chat

Create AI art, search the web, generate videos and edit photos.



Already have an account? Login here

Netwrck Unlimited

Voice Chat - Character Creation - Art Generation


Art Generator Settings


Resolution
Aesthetic Elf Styles
Anime Anime
Photographic Photographic
Digital Art Digital Art
Comic Book Comic Book
Fantasy Art Fantasy Art
Neon Punk Neon Punk
Knight Knight
Ethereal Ethereal
Low Poly Low Poly
Stunning Stunning
Line Art Line Art
Cinematic Cinematic
Wanderer Wanderer
Beggar Beggar
Seductive Seductive
Warrior Warrior
Steampunk Steampunk
Japanese Japanese
Western Western
Handsome Handsome
Pop art Pop art
Abstract Abstract
Impressionist Impressionist
Fauvist Fauvist
Beauty grace Beauty grace
Evil Evil
God God
Demon Demon
Masculine Masculine
Feminine Feminine
Majestic Majestic
Mage Mage
Princess Princess
King King
Sweet Sweet
Fantasy Fantasy

AI Generated Images


Community Images


New AI

person
This is what your AI will say when someone first chats with them
Help others understand what your AI character is about

AI Settings

Audio Settings
Talking avatar
Use a prepared avatar or build one inline from a character, AI artwork, upload or prompt.
Character calls

Local is free (browser speech + your chat model + on-device TTS). Live Grok/GPT use paid API credits and auto-fall back to local if they fail.

1.0x

Translation

For Chinese: hanzi + pinyin per word, tap any word to hear it spoken locally.


Art Generation

When enabled, AI can automatically generate art based on conversations

Prepended to art prompts when Make Art runs.
Only applies when GPT Image 2 is selected. GPT Image 2 chat art consumes credits.

High Resolution

LTX 2.3 Image to Video

Selected image
Pick any generated image and turn it into a video.
$0.58 · 58 credits
Your latest request will appear here.

Saved Requests

Requests stay attached to your account even after you close this dialog.
No video requests yet.

Find an AI to chat with

No AI characters found.

Help Everyone Know You

person

Share Image

Consider our affiliate program to earn!

Copy

Reddit

X

Facebook

LinkedIn

NETW Coin is live!

AI should be owned by everyone.
So we are building a new AI economy together.
Thank you for being on this journey with us!
Read More

Netwrck Android App

Our Android App Is Available Now - Please Check it out!

New Post

Add Netwrck Credits

Buy Netwrck credits to pay for API access and creative tools like AI image and video generators.

Current Balance: $0.00
Custom:

Sign in to keep chatting

You have used your messages. Sign in to continue this conversation and keep your chat history.

No card required.

Characters in this room

Remove a current character, add an existing one, or create a new character for this room.

Add an existing character