Flexibele parameters
Configureer 6 gedocumenteerde parameters, waaronder mask_url, output_count, reference_image_urls, rendering_speed, source_image_url.
Inpaint while preserving the referenced character identity
curl -X POST https://runapi.ai/api/v1/ideogram_v3/edit_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ideogram-v3-character-edit",
"image_url": "https://cdn.runapi.ai/public/samples/image.jpg",
"prompt": "Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background."
}'
import { IdeogramV3Client } from "@runapi.ai/ideogram-v3";
const client = new IdeogramV3Client();
const result = await client.editImage.run({
model: "ideogram-v3-character-edit",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background.",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/ideogram_v3/edit_image",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"ideogram-v3-character-edit","image_url":"https://cdn.runapi.ai/public/samples/image.jpg","prompt":"Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background."}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/ideogram_v3/edit_image");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'ideogram-v3-character-edit',
'image_url' => 'https://cdn.runapi.ai/public/samples/image.jpg',
'prompt' => 'Create a movie poster for \'The Last Frontier\' with the title in bold serif at the top, a space station in the background.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.editImage().run({"model":"ideogram-v3-character-edit","image_url":"https://cdn.runapi.ai/public/samples/image.jpg","prompt":"Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background."});
task.waitForResult();
require "runapi/ideogram_v3"
client = RunApi::IdeogramV3::Client.new
result = client.edit_image.run(
model: "ideogram-v3-character-edit",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.editImage.Run({"model":"ideogram-v3-character-edit","image_url":"https://cdn.runapi.ai/public/samples/image.jpg","prompt":"Create a movie poster for 'The Last Frontier' with the title in bold serif at the top, a space station in the background."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model ideogram-v3-character-edit \
--endpoint edit_image \
--wait
7 versies beschikbaar
Kies een model en genereer binnen enkele seconden.
Kies een model en genereer binnen enkele seconden.
| Provider | Ideogram |
| Model-ID | ideogram-v3-character-edit |
| Modaliteit | Image |
| Taaktypen | Asynchronous |
| API-eindpunt | /api/v1/ideogram_v3/edit_image |
| Factureringseenheid | call |
| Invoerparameters | mask_url, output_count, reference_image_urls, rendering_speed, source_image_url, style |
| Catalogusstatus | Operationeel |
Meld je gratis aan en maak vanuit het dashboard een API-sleutel voor ideogram-v3-character-edit.
Stuur een POST-verzoek naar /api/v1/ideogram_v3/edit_image met de model-ID ideogram-v3-character-edit en je parameters.
Poll de taak of volg de callback om het voltooide ideogram-v3-character-edit-resultaat op te halen.
Configureer 6 gedocumenteerde parameters, waaronder mask_url, output_count, reference_image_urls, rendering_speed, source_image_url.
Stelt 1 openbaar(e) endpoint(s) beschikbaar: edit_image.
Gemeten aan de hand van call, zonder abonnementsvereiste.
styleGeen beschrijving beschikbaar. (auto, realistic, fiction)
mask_urlGeen beschrijving beschikbaar.
output_countGeen beschrijving beschikbaar. (1, 2, 3, 4)
rendering_speedGeen beschrijving beschikbaar. (turbo, balanced, quality)
source_image_urlGeen beschrijving beschikbaar.
reference_image_urlsGeen beschrijving beschikbaar.
Genereer automatisch lifestyle-productfoto's voor e-commercecatalogi zonder studiofotografie.
Werk snel concepten uit voor omgevingen en personages voordat je doorgaat naar de definitieve art.
Genereer unieke cover art en illustraties voor blogposts en artikelen op schaal.
Geef de model-ID door die in de quickstart wordt getoond.
Rate limits per key schalen mee met je usage tier. Bekijk de prijzenpagina voor de actuele limieten.
Ja — variant is een flag. Wissel door de modelparameter aan te passen.
Waar streaming beschikbaar is, streamt RunAPI end-to-end.
Open een issue in de publieke GitHub-repo of mail support.
We helpen je met enterprise-inrichting, integraties en technische vragen.
Neem contact op