# Generate images from text prompts

> OpenGen routes text-to-image prompts across 25 exact model variants through one canonical request schema. Discover models with GET /v1/models?operation=text-to-image, inspect exact pricing and resolution tiers via GET /v1/models/{provider}/{model}, verify spend with POST /v1/pricing/estimate, and submit once with a persisted Idempotency-Key. All generated outputs stay private to your workspace and download through short-lived first-party capability URLs.

## Agent Prompt

```text
Walk me through a text-to-image generation on OpenGen (https://opengen.dev):
1. Discover image models with GET https://opengen.dev/v1/models?operation=text-to-image (or MCP find_models with operation="text-to-image").
2. Inspect the selected exact model's schema, regional routes, privacy disclosures, and published pricing in one call via GET https://opengen.dev/v1/models/{provider}/{model}?operation=text-to-image (or MCP get_model, e.g. id="openai/gpt-image-2", operation="text-to-image").
3. Run a stateless dry-run estimate with POST https://opengen.dev/v1/pricing/estimate (or MCP estimate_cost) using the exact canonical payload.
4. Show me the selected route, published unit pricing, workspaceEligibility, and recommendedMaxCostMicros, and wait for my confirmation of the route and maxCostMicros cap before spending.
5. After I confirm, persist a unique Idempotency-Key and submit once via POST https://opengen.dev/v1/generations (with Prefer: wait=20) or MCP generate (with waitMs=20000).
6. If still pending, poll GET https://opengen.dev/v1/generations/{id}/status or MCP job_get without ever creating a second Idempotency-Key. When delivered, return clickable private output links alongside the job ID and expiresAt.
```

OpenGen lets you generate private images across official and partner routes using a single canonical payload (`modelId`, `operation: "text-to-image"`, and typed `input`). Rather than rewriting SDK calls for every vendor, you inspect one model schema, verify exact pricing with a stateless dry run, and submit once under a persisted `Idempotency-Key`.

## Prerequisites

- An OpenGen workspace API key with `read` and `generate` scopes (`OPENGEN_API_KEY`), an OAuth MCP connection to `https://opengen.dev/mcp`, or a logged-in [`@opengen-dev/cli`](https://www.npmjs.com/package/@opengen-dev/cli) session (see [Authentication](/docs/authentication) and [Client Setup](/docs/clients)).
- Prepaid workspace credit for `billing: "managed"` or an encrypted workspace provider connection for `billing: "byok"`.
- Zero authentication is needed for Steps 1 and 2 (`GET /v1/models`, `GET /v1/models/{provider}/{model}`, and `https://opengen.dev/mcp/readonly`).

## 1. Choose an exact image model and inspect its schema

Start by listing models registered for `text-to-image`, then inspect the exact variant you plan to call. Never merge derivatives by marketing name—each variant exposes its own resolutions, quality tiers, and output formats.

For a fast, live-verified baseline, this walkthrough uses [GPT Image 2](/openai/gpt-image-2) (`openai/gpt-image-2`, official route `openai-undisclosed/openai-gpt-image-2`, live-verified for `text-to-image` at `1K`). If you want low flat per-image pricing, compare [FLUX 3 Klein](/bfl/flux-3-image?variant=bfl%2Fflux-3-klein) (`bfl/flux-3-klein`, published `$0.008` at `768sq` and `$0.009` at `1K`; live-verified for `text-to-image` at `768sq`, with `1K` also exercised in hosted comparison smoke) or [Seedream 5.0 Flash](/bytedance/seedream-5.0-flash) (`bytedance/seedream-5.0-flash`, flat `$0.018` across `1K`–`2K` on BytePlus ModelArk Singapore; live-verified for `text-to-image` at `1K`).

```bash tab="cURL"
# Compact model list filtered by operation (unauthenticated)
curl --fail-with-body \
  "https://opengen.dev/v1/models?operation=text-to-image"

# Single-call schema, regional routes, privacy disclosures, and published pricing
curl --fail-with-body \
  "https://opengen.dev/v1/models/openai/gpt-image-2?operation=text-to-image"
```

```ts tab="TypeScript"
const origin = process.env.OPENGEN_API_URL ?? 'https://opengen.dev';

const listRes = await fetch(`${origin}/v1/models?operation=text-to-image`);
if (!listRes.ok) throw new Error(`Model list failed: ${listRes.status}`);
const { data: models } = await listRes.json();

const detailRes = await fetch(`${origin}/v1/models/openai/gpt-image-2?operation=text-to-image`);
if (!detailRes.ok) throw new Error(`Model inspect failed: ${detailRes.status}`);
const detail = await detailRes.json();
console.log(
  models.length,
  detail.routes.map((r: { id: string }) => r.id),
);
```

```python tab="Python"
import os
import httpx

origin = os.environ.get("OPENGEN_API_URL", "https://opengen.dev")

with httpx.Client(timeout=30.0) as client:
    models = client.get(f"{origin}/v1/models", params={"operation": "text-to-image"}).raise_for_status().json()
    detail = client.get(
        f"{origin}/v1/models/openai/gpt-image-2",
        params={"operation": "text-to-image"},
    ).raise_for_status().json()
    print(len(models["data"]), [route["id"] for route in detail["routes"]])
```

```json tab="MCP"
{
  "tool": "get_model",
  "arguments": {
    "id": "openai/gpt-image-2",
    "operation": "text-to-image"
  }
}
```

```bash tab="CLI"
opengen catalog search --operation text-to-image
opengen catalog get openai/gpt-image-2
opengen pricing --model openai/gpt-image-2 --operation text-to-image
```

### Canonical `text-to-image` input fields

| Field          | Required | Notes                                                                                                         |
| -------------- | -------- | ------------------------------------------------------------------------------------------------------------- |
| `prompt`       | Yes      | Non-empty description (up to 32,000 chars on `openai/gpt-image-2`).                                           |
| `resolution`   | Optional | Model-specific tier (`1K`, `2K`, `4K` on `openai/gpt-image-2`; default `1K`). Mutually exclusive with `size`. |
| `aspectRatio`  | Optional | Common ratios such as `1:1`, `16:9`, `9:16`, `3:2`, `4:5` (default `1:1`). Mutually exclusive with `size`.    |
| `size`         | Optional | Explicit `{ width, height }` object on models that support custom dimensions (multiples of 16 on GPT Image).  |
| `quality`      | Optional | `auto`, `low`, `medium`, or `high` on `openai/gpt-image-2` (default `medium`).                                |
| `outputFormat` | Optional | `png`, `jpeg`, or `webp` (`bfl/flux-3-image` supports `png` and `jpeg` only).                                 |
| `background`   | Optional | `auto`, `opaque`, or `transparent` (requires `png` or `webp` when `transparent`).                             |
| `count`        | Optional | Number of images (`1`–`10` on `openai/gpt-image-2`; varies by variant).                                       |

> [!NOTE]
> `text-to-image` rejects any source media fields (`references`, `firstFrame`, `lastFrame`, `sourceVideo`, `mask`). To condition on existing images, switch to the [Image Edit guide](/docs/guides/image-edit).

## 2. Estimate cost and verify route eligibility

Before reserving credits or invoking an upstream provider, pass your exact payload to `POST /v1/pricing/estimate` (or MCP `estimate_cost`). When authenticated with a `read`-scoped credential, the response includes per-route `estimatedCostMicros`, `recommendedMaxCostMicros`, and `workspaceEligibility`.

```bash tab="cURL"
set -eu
umask 077
if [ -e t2i-submission.key ]; then
  echo "Existing t2i-submission.key found; recover read-only via GET /v1/generations/lookup before replacing request.json." >&2
  exit 1
fi
rm -f request.json
cat <<'JSON' > request.json
{
  "modelId": "openai/gpt-image-2",
  "operation": "text-to-image",
  "input": {
    "prompt": "A brushed brass maritime compass resting on natural oatmeal linen, soft morning window light, shallow depth of field.",
    "resolution": "1K",
    "aspectRatio": "1:1",
    "quality": "low",
    "outputFormat": "png"
  },
  "routeId": "openai-undisclosed/openai-gpt-image-2",
  "billing": "managed",
  "maxCostMicros": 50000
}
JSON
chmod 600 request.json

curl --fail-with-body \
  -X POST "https://opengen.dev/v1/pricing/estimate" \
  -H "Authorization: Bearer $OPENGEN_API_KEY" \
  -H "Content-Type: application/json" \
  --data @request.json
```

```ts tab="TypeScript"
const origin = process.env.OPENGEN_API_URL ?? 'https://opengen.dev';
const payload = {
  modelId: 'openai/gpt-image-2',
  operation: 'text-to-image',
  input: {
    prompt:
      'A brushed brass maritime compass resting on natural oatmeal linen, soft morning window light, shallow depth of field.',
    resolution: '1K',
    aspectRatio: '1:1',
    quality: 'low',
    outputFormat: 'png',
  },
  routeId: 'openai-undisclosed/openai-gpt-image-2',
  billing: 'managed',
  maxCostMicros: 50000,
} as const;

const estimateRes = await fetch(`${origin}/v1/pricing/estimate`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.OPENGEN_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify(payload),
});
if (!estimateRes.ok) throw new Error(await estimateRes.text());
console.log(await estimateRes.json());
```

```python tab="Python"
import os
import httpx

origin = os.environ.get("OPENGEN_API_URL", "https://opengen.dev")
payload = {
    "modelId": "openai/gpt-image-2",
    "operation": "text-to-image",
    "input": {
        "prompt": "A brushed brass maritime compass resting on natural oatmeal linen, soft morning window light, shallow depth of field.",
        "resolution": "1K",
        "aspectRatio": "1:1",
        "quality": "low",
        "outputFormat": "png",
    },
    "routeId": "openai-undisclosed/openai-gpt-image-2",
    "billing": "managed",
    "maxCostMicros": 50000,
}

with httpx.Client(timeout=30.0) as client:
    estimate = client.post(
        f"{origin}/v1/pricing/estimate",
        headers={"Authorization": f"Bearer {os.environ['OPENGEN_API_KEY']}"},
        json=payload,
    ).raise_for_status().json()
    print(estimate)
```

```json tab="MCP"
{
  "tool": "estimate_cost",
  "arguments": {
    "modelId": "openai/gpt-image-2",
    "operation": "text-to-image",
    "input": {
      "prompt": "A brushed brass maritime compass resting on natural oatmeal linen, soft morning window light, shallow depth of field.",
      "resolution": "1K",
      "aspectRatio": "1:1",
      "quality": "low",
      "outputFormat": "png"
    },
    "routeId": "openai-undisclosed/openai-gpt-image-2",
    "billing": "managed",
    "maxCostMicros": 50000
  }
}
```

```bash tab="CLI"
opengen pricing estimate --input request.json
```

`maxCostMicros` is an integer micro-USD spend ceiling (`50000` micro-USD = `$0.05`). For token-billed models such as `openai/gpt-image-2`, OpenGen reserves a conservative upper bound at admission and settles the exact reported upstream usage once the provider finishes, releasing any unused hold back to your workspace balance.

## 3. Submit once with an `Idempotency-Key`

Persist the request body and a freshly generated `Idempotency-Key` before submitting. For fast image models, send the standard RFC 7240 `Prefer: wait=20` header (clamped to `0`–`25` seconds) on REST, `waitMs: 20000` on MCP, or `--wait 20` on the CLI so completed renders return `200 OK` with private output URLs in a single round trip. If the render takes longer than the wait window, OpenGen returns `202 Accepted` with the durable job ID and `Location` header.

```bash tab="cURL"
set -eu
umask 077
if [ -e t2i-submission.key ]; then
  echo "Existing t2i-submission.key found; recover read-only via GET /v1/generations/lookup before creating a new submission." >&2
  exit 1
fi
RAW_UUID="$(uuidgen)"
[ -n "$RAW_UUID" ] || { echo "uuidgen failed" >&2; exit 1; }
IDEMPOTENCY_KEY="t2i-$(printf '%s' "$RAW_UUID" | tr '[:upper:]' '[:lower:]')"
(set -C; printf '%s\n' "$IDEMPOTENCY_KEY" > t2i-submission.key)

curl --fail-with-body \
  -X POST "https://opengen.dev/v1/generations" \
  -H "Authorization: Bearer $OPENGEN_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Prefer: wait=20" \
  --data @request.json > generation-receipt.json
```

```ts tab="TypeScript"
import { randomUUID } from 'node:crypto';
import { writeFile } from 'node:fs/promises';

const idempotencyKey = `t2i-${randomUUID()}`;
// flag: 'wx' refuses to overwrite an existing unresolved submission record.
await writeFile('t2i-submission.json', JSON.stringify({ idempotencyKey, payload }, null, 2), {
  mode: 0o600,
  flag: 'wx',
});

const res = await fetch(`${origin}/v1/generations`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.OPENGEN_API_KEY}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': idempotencyKey,
    Prefer: 'wait=20',
  },
  body: JSON.stringify(payload),
});
if (!res.ok) throw new Error(await res.text());
const job = await res.json();
console.log({ id: job.id, status: job.status, deliveryStatus: job.deliveryStatus });
```

```python tab="Python"
import json
import os
import uuid

idempotency_key = f"t2i-{uuid.uuid4()}"
# O_EXCL refuses to overwrite an existing unresolved submission record.
fd = os.open("t2i-submission.json", os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o600)
with os.fdopen(fd, "w", encoding="utf-8") as handle:
    json.dump({"idempotencyKey": idempotency_key, "payload": payload}, handle, indent=2)

with httpx.Client(timeout=45.0) as client:
    res = client.post(
        f"{origin}/v1/generations",
        headers={
            "Authorization": f"Bearer {os.environ['OPENGEN_API_KEY']}",
            "Idempotency-Key": idempotency_key,
            "Prefer": "wait=20",
        },
        json=payload,
    )
    res.raise_for_status()
    job = res.json()
    print(job["id"], job["status"], job.get("deliveryStatus"))
```

```json tab="MCP"
{
  "tool": "generate",
  "arguments": {
    "idempotencyKey": "t2i-example-001",
    "modelId": "openai/gpt-image-2",
    "operation": "text-to-image",
    "input": {
      "prompt": "A brushed brass maritime compass resting on natural oatmeal linen, soft morning window light, shallow depth of field.",
      "resolution": "1K",
      "aspectRatio": "1:1",
      "quality": "low",
      "outputFormat": "png"
    },
    "routeId": "openai-undisclosed/openai-gpt-image-2",
    "billing": "managed",
    "maxCostMicros": 50000,
    "waitMs": 20000
  }
}
```

```bash tab="CLI"
set -eu
umask 077
if [ -e t2i-submission.key ]; then
  echo "Existing t2i-submission.key found; run 'opengen job recover --idempotency-key \"\$(cat t2i-submission.key)\"' before creating a new submission." >&2
  exit 1
fi
RAW_UUID="$(uuidgen)"
[ -n "$RAW_UUID" ] || { echo "uuidgen failed" >&2; exit 1; }
IDEMPOTENCY_KEY="t2i-$(printf '%s' "$RAW_UUID" | tr '[:upper:]' '[:lower:]')"
(set -C; printf '%s\n' "$IDEMPOTENCY_KEY" > t2i-submission.key)
opengen generate --input request.json --idempotency-key "$IDEMPOTENCY_KEY" --wait 20 > generation-receipt.json
```

## 4. Poll, recover, and download private outputs

If the submission returned `202 Accepted` (or `deliveryStatus: "pending"`), follow the existing job ID with `GET /v1/generations/{id}/status?waitMs=25000` (passing the returned `revision` as `afterRevision` on subsequent polls), then fetch fresh signed output links with `GET /v1/generations/{id}`.

```bash tab="cURL"
# Check status and wait up to 25s for changes
curl --fail-with-body \
  -H "Authorization: Bearer $OPENGEN_API_KEY" \
  "https://opengen.dev/v1/generations/$JOB_ID/status?waitMs=25000"

# Fetch fresh first-party /media/... capability URLs and settled cost
curl --fail-with-body \
  -H "Authorization: Bearer $OPENGEN_API_KEY" \
  "https://opengen.dev/v1/generations/$JOB_ID"
```

```ts tab="TypeScript"
let current = job;
while (
  ['queued', 'submitting', 'running'].includes(current.status) ||
  (current.status === 'succeeded' && current.deliveryStatus === 'pending')
) {
  const query = new URLSearchParams({ waitMs: '25000' });
  if (current.revision) query.set('afterRevision', current.revision);
  const poll = await fetch(`${origin}/v1/generations/${current.id}/status?${query}`, {
    headers: { Authorization: `Bearer ${process.env.OPENGEN_API_KEY}` },
  });
  if (!poll.ok) throw new Error(await poll.text());
  const snapshot = await poll.json();
  current = snapshot.job ?? snapshot;
}

const fullRes = await fetch(`${origin}/v1/generations/${current.id}`, {
  headers: { Authorization: `Bearer ${process.env.OPENGEN_API_KEY}` },
});
if (!fullRes.ok) throw new Error(await fullRes.text());
const full = await fullRes.json();
console.log(full.status, full.deliveryStatus, full.outputs);
```

```python tab="Python"
with httpx.Client(timeout=40.0) as client:
    auth = {"Authorization": f"Bearer {os.environ['OPENGEN_API_KEY']}"}
    current = job
    while current.get("status") in {"queued", "submitting", "running"} or (
        current.get("status") == "succeeded" and current.get("deliveryStatus") == "pending"
    ):
        params = {"waitMs": 25000}
        if current.get("revision"):
            params["afterRevision"] = current["revision"]
        snap = client.get(f"{origin}/v1/generations/{current['id']}/status", headers=auth, params=params).raise_for_status().json()
        current = snap.get("job", snap)
    full = client.get(f"{origin}/v1/generations/{current['id']}", headers=auth).raise_for_status().json()
    print(full["status"], full.get("deliveryStatus"), full["outputs"])
```

```json tab="MCP"
{
  "tool": "job_get",
  "arguments": {
    "id": "EXISTING_JOB_ID",
    "waitMs": 25000
  }
}
```

```bash tab="CLI"
opengen job wait "$JOB_ID"
opengen job get "$JOB_ID"
```

> [!IMPORTANT]
> Never create a second `Idempotency-Key` if a `POST /v1/generations` call times out or disconnects. Run read-only recovery with `GET https://opengen.dev/v1/generations/lookup?idempotencyKey=$IDEMPOTENCY_KEY` (MCP `job_get` with `{ "idempotencyKey": "..." }`, CLI `opengen job recover --idempotency-key "$IDEMPOTENCY_KEY"`). Signed first-party `/media/...` URLs expire after roughly 15 minutes; call `GET /v1/generations/{id}` again to refresh them while the object is retained.

## Next steps

- Need to edit an existing image or apply an alpha mask? Continue to [Image Editing](/docs/guides/image-edit).
- Want to push generation lifecycle events to your app instead of polling? See [Next.js Webhook Verification](/docs/guides/webhooks-nextjs).
- Compare regional privacy disclosures and billing settlement in [Regional Routing](/docs/regional-routing) and [Pricing and Analytics](/docs/pricing-and-analytics).

## Supported Models

Live catalog variants supporting `text-to-image` (single-source tariffs from `@media-router/catalog`; unknown prices stay `Unknown`, never `$0`).

| Model | Exact ID | Creator | Routes | Lowest published rate | Weights | Inspect schema |
| --- | --- | --- | --- | --- | --- | --- |
| [Seedream 5.0 Pro](https://opengen.dev/bytedance/seedream-5.0-pro#variant-bytedance-seedream-5.0-pro) | `bytedance/seedream-5.0-pro` | ByteDance | 5 | $0.03825 / image | Closed | `GET /v1/models/bytedance/seedream-5.0-pro?operation=text-to-image` |
| [GPT Image 2](https://opengen.dev/openai/gpt-image-2#variant-openai-gpt-image-2) | `openai/gpt-image-2` | OpenAI | 5 | ≈$0.0044 / image | Closed | `GET /v1/models/openai/gpt-image-2?operation=text-to-image` |
| [FLUX 3 Image](https://opengen.dev/bfl/flux-3-image#variant-bfl-flux-3-image) | `bfl/flux-3-image` | Black Forest Labs | 2 | ≈$0.0283 / image | Closed | `GET /v1/models/bfl/flux-3-image?operation=text-to-image` |
| [FLUX 3 Klein](https://opengen.dev/bfl/flux-3-image#variant-bfl-flux-3-klein) | `bfl/flux-3-klein` | Black Forest Labs | 2 | $0.008 / image | Open weights | `GET /v1/models/bfl/flux-3-klein?operation=text-to-image` |
| [Seedream 5.0 Flash](https://opengen.dev/bytedance/seedream-5.0-flash#variant-bytedance-seedream-5.0-flash) | `bytedance/seedream-5.0-flash` | ByteDance | 2 | $0.018 / image | Closed | `GET /v1/models/bytedance/seedream-5.0-flash?operation=text-to-image` |
| [Nano Banana 2 Lite](https://opengen.dev/google/nano-banana-2-lite#variant-google-nano-banana-2-lite) | `google/nano-banana-2-lite` | Google | 2 | ≈$0.0336 / image | Closed | `GET /v1/models/google/nano-banana-2-lite?operation=text-to-image` |
| [MiniMax H3 Image Highspeed](https://opengen.dev/minimax/h3-image#variant-minimax-h3-image-highspeed) | `minimax/h3-image-highspeed` | MiniMax | 2 | ≈$0.0156 / image | Closed | `GET /v1/models/minimax/h3-image-highspeed?operation=text-to-image` |
| [Qwen Image 3 · fal](https://opengen.dev/qwen/image-3.0-pro#variant-fal-qwen-image-3) | `fal/qwen-image-3` | fal | 1 | $0.04 / image | Closed | `GET /v1/models/fal/qwen-image-3?operation=text-to-image` |
| [Qwen Image 3.0 Pro](https://opengen.dev/qwen/image-3.0-pro#variant-alibaba-qwen-image-3.0-pro) | `alibaba/qwen-image-3.0-pro` | Alibaba | 7 | $0.03438 / image | Closed | `GET /v1/models/alibaba/qwen-image-3.0-pro?operation=text-to-image` |
| [Qwen Image 2.1 Pro · Hosted](https://opengen.dev/qwen/image-2.1#variant-alibaba-qwen-image-2.1-pro) | `alibaba/qwen-image-2.1-pro` | Alibaba | 6 | $0.035333 / image | Closed | `GET /v1/models/alibaba/qwen-image-2.1-pro?operation=text-to-image` |
| [Qwen Image 2.1 Turbo](https://opengen.dev/qwen/image-2.1#variant-qwen-image-2.1-turbo) | `qwen/image-2.1-turbo` | Qwen | 6 | $0.014133 / image | Open weights | `GET /v1/models/qwen/image-2.1-turbo?operation=text-to-image` |
| [Nano Banana 2.1](https://opengen.dev/google/nano-banana-2.1#variant-google-nano-banana-2.1) | `google/nano-banana-2.1` | Google | 5 | $0.0336 / image | Closed | `GET /v1/models/google/nano-banana-2.1?operation=text-to-image` |
| [GPT Image 2.5 Flare](https://opengen.dev/openai/gpt-image-2.5#variant-openai-gpt-image-2.5-flare) | `openai/gpt-image-2.5-flare` | OpenAI | 5 | ≈$0.0056 / image | Closed | `GET /v1/models/openai/gpt-image-2.5-flare?operation=text-to-image` |
| [GPT Image 2.5 Sunburst](https://opengen.dev/openai/gpt-image-2.5#variant-openai-gpt-image-2.5-sunburst) | `openai/gpt-image-2.5-sunburst` | OpenAI | 5 | ≈$0.0056 / image | Closed | `GET /v1/models/openai/gpt-image-2.5-sunburst?operation=text-to-image` |
| [Grok Imagine Image 2.0](https://opengen.dev/xai/grok-imagine-image-2.0#variant-xai-grok-imagine-image-2.0) | `xai/grok-imagine-image-2.0` | xAI | 5 | $0.04 / image | Closed | `GET /v1/models/xai/grok-imagine-image-2.0?operation=text-to-image` |
| [Seedream 4.0](https://opengen.dev/bytedance/seedream-4.0#variant-bytedance-seedream-4.0) | `bytedance/seedream-4.0` | ByteDance | 2 | $0.03 / image | Closed | `GET /v1/models/bytedance/seedream-4.0?operation=text-to-image` |
| [Seedream 4.5](https://opengen.dev/bytedance/seedream-4.5#variant-bytedance-seedream-4.5) | `bytedance/seedream-4.5` | ByteDance | 2 | $0.04 / image | Closed | `GET /v1/models/bytedance/seedream-4.5?operation=text-to-image` |
| [Seedream 5.0 Lite](https://opengen.dev/bytedance/seedream-5.0-lite#variant-bytedance-seedream-5.0-lite) | `bytedance/seedream-5.0-lite` | ByteDance | 2 | $0.035 / image | Closed | `GET /v1/models/bytedance/seedream-5.0-lite?operation=text-to-image` |
| [Seedream 5.5](https://opengen.dev/bytedance/seedream-5.5#variant-bytedance-seedream-5.5) | `bytedance/seedream-5.5` | ByteDance | 2 | $0.02 / image | Closed | `GET /v1/models/bytedance/seedream-5.5?operation=text-to-image` |
| [Nano Banana 2](https://opengen.dev/google/nano-banana-2#variant-google-nano-banana-2) | `google/nano-banana-2` | Google | 2 | ≈$0.0448 / image | Closed | `GET /v1/models/google/nano-banana-2?operation=text-to-image` |
| [Nano Banana Pro](https://opengen.dev/google/nano-banana-pro#variant-google-nano-banana-pro) | `google/nano-banana-pro` | Google | 2 | ≈$0.1344 / image | Closed | `GET /v1/models/google/nano-banana-pro?operation=text-to-image` |
| [MiniMax H3 Image](https://opengen.dev/minimax/h3-image#variant-minimax-h3-image) | `minimax/h3-image` | MiniMax | 2 | ≈$0.0078 / image | Closed | `GET /v1/models/minimax/h3-image?operation=text-to-image` |
| [GPT Image 2.6 Flare](https://opengen.dev/openai/gpt-image-2.6#variant-openai-gpt-image-2.6-flare) | `openai/gpt-image-2.6-flare` | OpenAI | 2 | ≈$0.0247 / image | Closed | `GET /v1/models/openai/gpt-image-2.6-flare?operation=text-to-image` |
| [GPT Image 2.6 Sunburst](https://opengen.dev/openai/gpt-image-2.6#variant-openai-gpt-image-2.6-sunburst) | `openai/gpt-image-2.6-sunburst` | OpenAI | 2 | ≈$0.0247 / image | Closed | `GET /v1/models/openai/gpt-image-2.6-sunburst?operation=text-to-image` |
