300 million tokens. $2.99 a month.See the subscription  

model apis · image generation

Flash Image 3.1 API

Run Flash Image 3.1 by Google through one OpenAI-compatible endpoint. Pay per use against your deeprelay balance. No instance to rent, no deployment to manage.

Available now

Flash Image 3.1 API pricing

Live catalog rates, billed per use against your deeprelay balance, no minimums. Flash Image 3.1 is priced per use rather than included in the $2.99-a-month flat plan.

TierRate
Serverless
Per image: $0.049

rates are read every few minutes from the live model catalog and metered per request

Call Flash Image 3.1 in one request

Any OpenAI SDK works: set the base URL to https://api.deeprelay.ai/v1 and use your deeprelay API key.

curl
curl https://api.deeprelay.ai/v1/images/generations \
  -H "Authorization: Bearer $DEEPRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deeprelay/flash-image-3.1",
    "prompt": "A watercolor painting of a data center at sunrise"
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.deeprelay.ai/v1",
    api_key="YOUR_DEEPRELAY_API_KEY",
)

image = client.images.generate(
    model="deeprelay/flash-image-3.1",
    prompt="A watercolor painting of a data center at sunrise",
)
print(image.data[0].url)

Flash Image 3.1 on deeprelay

Model iddeeprelay/flash-image-3.1
ModalityImage generation
AuthorGoogle
Context window
Streaming
Aliases
Flat planNot included: pay as you go

faq

Flash Image 3.1 API questions

How much does the Flash Image 3.1 API cost?

Flash Image 3.1 on deeprelay currently costs $0.049 (per image), billed against your deeprelay balance as you go. There are no minimums. It is priced per use rather than included in the $2.99-a-month flat plan, which covers a named set of models.

Is the Flash Image 3.1 API OpenAI-compatible?

Yes. Point any OpenAI SDK at https://api.deeprelay.ai/v1 with a deeprelay API key and request model "deeprelay/flash-image-3.1". No proprietary client needed.

How does billing work?

Generation models bill per output (per image, or per second of video) at the listed rate, metered per request against your deeprelay balance.