Elastyczne parametry
Skonfiguruj 5 udokumentowanych parametrów, w tym aspect_ratio, output_format, output_quality, prompt, source_image_urls.
Wysokiej jakości fotorealistyczna edycja do profesjonalnych materiałów
curl -X POST https://runapi.ai/api/v1/seedream/edit_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-5-pro-edit",
"source_image_urls": [
"https://cdn.runapi.ai/public/samples/image.jpg"
],
"prompt": "Create a social media graphic for a coffee shop sale with the text '50% OFF' in bold, warm tones, 4K."
}'
import { SeedreamClient } from "@runapi.ai/seedream";
const client = new SeedreamClient();
const result = await client.editImage.run({
model: "seedream-5-pro-edit",
source_image_urls: ["https://cdn.runapi.ai/public/samples/image.jpg"],
prompt: "Create a social media graphic for a coffee shop sale with the text '50% OFF' in bold, warm tones, 4K.",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/seedream/edit_image",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"seedream-5-pro-edit","source_image_urls":["https://cdn.runapi.ai/public/samples/image.jpg"],"prompt":"Create a social media graphic for a coffee shop sale with the text '50% OFF' in bold, warm tones, 4K."}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/seedream/edit_image");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'seedream-5-pro-edit',
'source_image_urls' => ['https://cdn.runapi.ai/public/samples/image.jpg'],
'prompt' => 'Create a social media graphic for a coffee shop sale with the text \'50% OFF\' in bold, warm tones, 4K.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.editImage().run({"model":"seedream-5-pro-edit","source_image_urls":["https://cdn.runapi.ai/public/samples/image.jpg"],"prompt":"Create a social media graphic for a coffee shop sale with the text '50% OFF' in bold, warm tones, 4K."});
task.waitForResult();
require "runapi/seedream"
client = RunApi::Seedream::Client.new
result = client.edit_image.run(
model: "seedream-5-pro-edit",
source_image_urls: ["https://cdn.runapi.ai/public/samples/image.jpg"],
prompt: "Create a social media graphic for a coffee shop sale with the text '50% OFF' in bold, warm tones, 4K."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.editImage.Run({"model":"seedream-5-pro-edit","source_image_urls":["https://cdn.runapi.ai/public/samples/image.jpg"],"prompt":"Create a social media graphic for a coffee shop sale with the text '50% OFF' in bold, warm tones, 4K."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model seedream-5-pro-edit \
--endpoint edit_image \
--wait
9 dostępnych wariantów
Wybierz dowolny model i generuj w kilka sekund.
Wybierz dowolny model i generuj w kilka sekund.
| Dostawca | Bytedance |
| ID modelu | seedream-5-pro-edit |
| Modalność | Image |
| Typy zadań | Asynchronous |
| Endpoint API | /api/v1/seedream/edit_image |
| Jednostka rozliczeniowa | call |
| Parametry wejściowe | aspect_ratio, output_format, output_quality, prompt, source_image_urls |
| Proporcje obrazu | 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9 |
| Format wyjściowy | png, jpeg |
| Status katalogu | Operacyjny |
Zarejestruj się bezpłatnie i utwórz klucz API dla seedream-5-pro-edit w panelu.
Wyślij żądanie POST do /api/v1/seedream/edit_image z identyfikatorem modelu seedream-5-pro-edit i parametrami.
Odpytywać zadanie lub skorzystaj z callbacku, aby pobrać ukończony wynik seedream-5-pro-edit.
Skonfiguruj 5 udokumentowanych parametrów, w tym aspect_ratio, output_format, output_quality, prompt, source_image_urls.
Udostępnia 1 publiczny(-e) endpoint(-y): edit_image.
Rozliczane według call bez wymogu subskrypcji.
promptBrak dostępnego opisu.
aspect_ratioBrak dostępnego opisu. (1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9)
output_formatBrak dostępnego opisu. (png, jpeg)
output_qualityBrak dostępnego opisu. (basic, high)
source_image_urlsBrak dostępnego opisu.
Automatycznie generuj lifestyle’owe zdjęcia produktów do katalogów e-commerce, które nie mają sesji studyjnych.
Szybko twórz koncepcje środowisk i postaci, zanim przejdziesz do finalnej grafiki.
Generuj unikalne okładki i ilustracje do wpisów blogowych oraz artykułów na dużą skalę.
Przekaż identyfikator modelu wyświetlony w quickstarcie.
Limity na klucz skalują się wraz z poziomem wykorzystania. Aktualne limity znajdziesz na stronie cennika.
Tak — wariant to flaga. Zmieniasz go, aktualizując parametr model.
Tam, gdzie streaming jest dostępny, RunAPI streamuje end-to-end.
Otwórz issue w publicznym repo na GitHubie albo napisz do supportu.
Pomożemy w konfiguracji dla firm, integracjach i kwestiach technicznych.
Skontaktuj się