# Ideogram 4.5 Edit API

> Ideogram 4.5 edits an image from a text instruction, with an optional mask and style references, with reliable text rendering and polished graphic design output.

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

## Facts

- Provider: Ideogram
- Type: Image model
- Model ID: `ideogram/4.5/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/4.5/edit",
  "prompt": "A colorful storefront with a sign reading hello",
  "quality": "medium",
  "edit_precision": "regular"
}'
```

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 4.5 Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "ideogram/4.5/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 4.5 Edit and the other models in the catalog; you do not need to sign up with Ideogram separately.

## README

### Ideogram 4.5 Edit

Ideogram 4.5 edit: change an image from an instruction, with an optional mask and style references.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 10,000 characters. |
| `image` | image URL, required | — | Image to edit. JPEG, PNG, or WebP URL. |
| `mask` | image URL | — | Optional mask; white areas are edited. |
| `edit_precision` | `regular` / `high` | `regular` | `high` keeps unmasked areas closer to the original. |
| `reference_image_urls` | image URL[] | — | Optional style references. |
| `quality` | `very_low` / `low` / `medium` / `high` | `medium` | Sets the per-image rate. |
| `aspect_ratio` | `21:9` / `16:9` / `3:2` / `4:3` / `5:4` / `1:1` / `4:5` / `3:4` / `2:3` / `9:16` | — | Output shape. |
| `seed` | integer | random | Fix it to compare prompt changes. |

#### Billing

Per output image: $0.008 very low, $0.03 low, $0.06 medium, $0.22 high.

| Quality | Price |
|---|---|
| very_low | $0.008 |
| low | $0.03 |
| medium | $0.06 |
| high | $0.22 |

Failed runs are not charged.

#### Prompting

- Use a mask for local edits.

#### Also on SandBase

Related: `ideogram/4.5`.
