Google 的 gemini-3.1-flash-lite-image 模型,支持文本、图像、视频、文件输入和文本、图像输出。支持推理。
SentencePiece (Gemini)/v1/images/generations| Parameter | Type | Default / range | Description |
|---|---|---|---|
promptrequired | string | — | Text description of the desired image |
size | enum | = 1024x1024 | Output image size |
quality | enum | = standard | Generation quality preset |
style | enum | = vivid | Aesthetic style |
n | integer | = 11 ~ 10 | Number of images to generate |
response_format | enum | = url | How to deliver the resulting image |
Replace <YOUR_API_KEY> with the API key from your token settings.
All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.
Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.
| Parameter | Type | Default / range | Description |
|---|---|---|---|
promptrequired | string | — | Text description of the desired image |
size | enum | = 1024x1024 | Output image size |
quality | enum | = standard | Generation quality preset |
style | enum | = vivid | Aesthetic style |
n | integer | = 11 ~ 10 | Number of images to generate |
response_format | enum | = url | How to deliver the resulting image |
| Supplier | RPM | TPM | RPD |
|---|---|---|---|
| Google AI Studio | 50 | — | 800 |
RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply per token group.
Everything you need to decide before creating an account.