# Ideogram 3.0 Edit API

> Ideogram V3 Edit by ideogram-ai - AI-powered image editing, style transfer, and transformation. Edit photos with natural language instructions, remove backgrounds, change styles, and enhance images effortlessly.

Source: https://www.sandbase.ai/models/ideogram-ai/ideogram-v3/edit
API reference: https://www.sandbase.ai/models/ideogram-ai/ideogram-v3/edit/docs

## Facts

- Provider: Ideogram
- Type: Image model
- Model ID: `ideogram-ai/ideogram-v3/edit`
- Price: From $0.06 per run
- Capabilities: image to image
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "ideogram-ai/ideogram-v3/edit",
  "mask": "https://static.sandbase.ai/examples/ideogram-ai/ideogram-v3/edit/input_mask_1.png",
  "image": "https://static.sandbase.ai/examples/ideogram-ai/ideogram-v3/edit/output_url_0.png",
  "prompt": "black bag",
  "rendering_speed": "BALANCED"
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call Ideogram 3.0 Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "ideogram-ai/ideogram-v3/edit" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate Ideogram account?

No. One SandBase API key and balance gives you access to Ideogram 3.0 Edit and the other models in the catalog; you do not need to sign up with Ideogram separately.

## README

### Ideogram 3.0 Edit

Ideogram 3.0 edit: inpaint a masked region of an image from a prompt.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Text instruction. |
| `image` | image URL, required | — | Image to edit. JPEG, PNG, or WebP URL. |
| `images` | image URL[] | — | Optional style references. |
| `mask` | image URL | — | Area to edit. |
| `rendering_speed` | `TURBO` / `BALANCED` / `QUALITY` | `BALANCED` | Sets the per-image rate. |
| `seed` | integer | random | Fix it to compare prompt changes. |

#### Billing

Per image: $0.03 Turbo, $0.06 Balanced, $0.09 Quality.

| Speed | Price |
|---|---|
| TURBO | $0.03 |
| BALANCED | $0.06 |
| QUALITY | $0.09 |

Failed runs are not charged.

#### Prompting

- Quote all text that must appear.

#### Also on SandBase

Related: `ideogram/4.5` (newer).
