Change one area of an image up to 4K and keep the rest pixel-intact, with an optional mask.
Billed at this model’s published rate.

Your generations will appear here
Same vendor, same API call — the differences are below.
| Model | Use case | Price | Resolution | Duration | Added |
|---|---|---|---|---|---|
| Ideogram 4.6 | Text → Image | from $0.008 / gen | 1K · 2K · 4K | — | Dec 2026 |
| Ideogram Vector | Text → Image | from $0.13 / gen | — | — | Oct 2026 |
| Ideogram Vectorize | Image → Image | from $0.033 / gen | — | — | Oct 2026 |
| Ideogram 4.5 | Text → Image | from $0.008 / gen | 1K · 2K | — | Sep 2026 |
| Ideogram 4.5 Precise Edit | Image → Image | from $0.008 / gen | — | — | Sep 2026 |
| Ideogram P-Image | Text → Image | from $0.003 / gen | 1K · 2K | — | Jul 2026 |
| Ideogram 4.0 | Text → Image | from $0.03 / gen | 1K · 2K | — | Jun 2026 |
| Ideogram Character | Image → Image | from $0.10 / gen | — | — | Feb 2026 |
TypeScript targets Node 20+ and ships with types; Python needs 3.10+ and is async. Over REST there is nothing to install: call https://api.picsart.com from any HTTP client.
npm install @picsart/ai-sdkpip install picsart-ai-sdkSend your Picsart API key as a bearer token. The SDK does it for you once the client is created.
import { createClient } from '@picsart/ai-sdk';
const ai = createClient({
apiKey: process.env.PICSART_API_KEY, // sent as: Authorization: Bearer <key>
apiUrl: 'https://api.picsart.com',
});import os
from picsart_ai_sdk import create_client
ai = create_client(
api_key=os.environ["PICSART_API_KEY"], # sent as: Authorization: Bearer <key>
api_url="https://api.picsart.com",
)Authorization: Bearer <PICSART_API_KEY>Call the model by its id. Over REST, one endpoint serves every model: POST /workflows/v1/models/execute with the model id and its input in the body. The outer params is the envelope every workflow takes; the inner one is this model's input, with the same names generate() takes.
import { createClient } from '@picsart/ai-sdk';
const ai = createClient({
apiKey: process.env.PICSART_API_KEY,
apiUrl: 'https://api.picsart.com',
});
const result = await ai.generate('ideogram-4-6-precise-edit', {
prompt: "A serene mountain lake at golden hour, ultra detailed",
startFrame: "https://cdn.example.com/input.jpg"
});
console.log(result.url); // image URLimport asyncio
import os
from picsart_ai_sdk import create_client
async def main() -> None:
async with create_client(
api_key=os.environ["PICSART_API_KEY"],
api_url="https://api.picsart.com",
) as ai:
result = await ai.generate("ideogram-4-6-precise-edit", {
"prompt": "A serene mountain lake at golden hour, ultra detailed",
"startFrame": "https://cdn.example.com/input.jpg",
})
print(result.url) # image URL
asyncio.run(main())curl -X POST 'https://api.picsart.com/workflows/v1/models/execute' \
-H 'Authorization: Bearer $PICSART_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"params": {
"model": "ideogram-4-6-precise-edit",
"params": {
"prompt": "A serene mountain lake at golden hour, ultra detailed",
"startFrame": "https://cdn.example.com/input.jpg"
}
}
}'9 parameters, the same for the SDK and for the inner params over REST. Required ones must be supplied; the rest fall back to their defaults.
| Parameter | Type | Required | Default | Details |
|---|---|---|---|---|
promptWhat to make, in plain language: the subject, style and composition. With an input image or video, what to change. | text | yes | — | max 10000 chars |
startFrameThe first frame, as an image URL. The video starts on this image. | file (image) | yes | — | — |
maskA mask image, as a URL, marking where the edit applies. | file (image) | no | — | — |
contextWindowContext Window | text | no | — | e.g. "auto | none | y_min,x_min,y_max,x_max, e.g. 2080,2464,3552,4896" |
imageUrlsInput images, as URLs: the image to edit, or references for subject, style or composition. | file (image[]) | no | — | — |
qualityQuality tier. Higher is slower and costs more. | enum | no | medium | very_low, low, medium, high |
countHow many results to make in one call. Each one is charged. | enum | no | 1 | 1, 2, 3, 4, 5, 6, 7, 8 |
seedSeed for the random generator. The same seed and inputs repeat a result; leave it out for a random one. | range | no | — | 0–2147483647 (step 1) |
enableCopyrightDetectionCheck the result against copyrighted material. | boolean | no | false | — |
generate() resolves once the job completes. One or more image URLs. Over REST the output is at response.result, inside the gateway's status envelope with the task id, its status and the amount charged.
{
"items": [
{
"url": "https://cdn.picsart.com/…/result"
}
],
"model": "ideogram-4-6-precise-edit"
}{
"status": "success",
"response": {
"id": "task_abc123",
"status": "COMPLETED",
"result": {
"url": "https://cdn.picsart.com/…/result",
"items": [
{
"url": "https://cdn.picsart.com/…/result"
}
],
"model": "ideogram-4-6-precise-edit"
}
}
}This tab reads the model’s parameter list from the service that runs it, and that could not be reached just now. Nothing is listed rather than a guess: the names have to match what the endpoint actually accepts.
Reload in a moment to try again. Meanwhile the API tab documents this same model through Picsart’s unified parameters, which are not affected.
The Picsart MCP server puts Ideogram 4.6 Precise Edit inside your AI assistant: Claude, ChatGPT, Cursor, GitHub Copilot and any other client that speaks the Model Context Protocol. You ask in plain language; the assistant reads the model's parameters, quotes the cost and returns the result.
There is no API key to manage. You sign in to Picsart once, in the browser, and runs are billed to the same credit balance as the API.
Add the hosted server to your client, then finish the Picsart sign-in it opens.
https://api.picsart.com/gen-ai/mcpclaude mcp add --transport http picsart-gen-ai https://api.picsart.com/gen-ai/mcpcodex mcp add picsart-gen-ai --url https://api.picsart.com/gen-ai/mcp
codex mcp login picsart-gen-ai{
"mcpServers": {
"picsart-gen-ai": {
"url": "https://api.picsart.com/gen-ai/mcp"
}
}
}Claude and ChatGPT on the web, GitHub Copilot and other clients connect from their own settings. The setup page has the steps for each.
Name the model, or give its id ideogram-4-6-precise-edit, and the assistant uses it instead of picking one itself. Ask it to quote the cost first.
One run is a short chain of tool calls. Only the generate step spends credits.
picsart_model_catalogFinds the model in the catalog: what it makes and what it takes.picsart_model_paramsLists the parameters it accepts, with their allowed values.picsart_preflightChecks the request and quotes its cost. Spends nothing.picsart_generateRuns it. This is the step that spends credits.picsart_job_statusFollows a long run, such as a video, until its result is ready.The parameters are the same ones the API tab lists, and the rates are on the Pricing tab. More on agents in the MCP guide.
The gen-ai command line runs Ideogram 4.6 Precise Edit from your terminal: one command for a result, a quote before you spend, and JSON output for scripts. It signs in through the browser, so there is no API key to manage, and runs are billed to the same credit balance as the API.
curl -fsSL https://picsart.com/gen-ai-cli/install.sh | bashcurl -fsSL https://picsart.com/gen-ai-cli/install.sh | bashirm https://picsart.com/gen-ai-cli/install.ps1 | iexnpm install -g @picsart/gen-aiThe install scripts ship a self-contained binary on macOS and Linux; the npm package needs Node.js 22 or later. Check it with gen-ai --version. Details are on the install page.
gen-ai login # opens the browser once, stores a token locally
gen-ai credits # remaining balancePass the model with -m and the prompt with -p. The CLI prints the result's URL and downloads the file to ./output; add -q to print only the URL.
gen-ai generate -m ideogram-4-6-precise-edit \
-p "studio shot of a ceramic cup, soft light" \
-i ./input.jpgRead this model's parameters and get a quote before a run. The parameters are the ones the API tab lists.
gen-ai models info ideogram-4-6-precise-edit # its parameters and limits
gen-ai pricing ideogram-4-6-precise-edit # quote a run before spending credits--no-input never stops to ask, and --json prints one JSON object, ready for jq or a pipeline.
gen-ai generate -m ideogram-4-6-precise-edit \
-p "studio shot of a ceramic cup, soft light" \
-i ./input.jpg \
--no-input --json | jq -r '.url'Every flag is in the CLI guide.
What this model costs, in USD. Every row is an exact rate — the columns are the settings that change it.
| Tier | Rate |
|---|---|
| Very low | $0.008 / generation |
| Low | $0.03 / generation |
| Low 4K, Medium | $0.06 / generation |
| Medium 4K | $0.20 / generation |
| High | $0.22 / generation |
| High 4K | $0.60 / generation |