معاملات مرنة
اضبط 5 معاملاً موثَّقاً، بما يشمل aspect_ratio, output_count, rendering_speed, source_image_url, style.
Change image framing and aspect ratio without a prompt
curl -X POST https://runapi.ai/api/v1/ideogram_v3/reframe_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ideogram-v3-reframe",
"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.reframeImage.run({
model: "ideogram-v3-reframe",
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/reframe_image",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"ideogram-v3-reframe","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/reframe_image");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'ideogram-v3-reframe',
'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.reframeImage().run({"model":"ideogram-v3-reframe","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.reframe_image.run(
model: "ideogram-v3-reframe",
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.reframeImage.Run({"model":"ideogram-v3-reframe","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-reframe \
--endpoint reframe_image \
--wait
7 إصدارات متاحة
اختر أي نموذج وابدأ التوليد في ثوانٍ.
اختر أي نموذج وابدأ التوليد في ثوانٍ.
| المزوّد | Ideogram |
| معرّف النموذج | ideogram-v3-reframe |
| النمط | Image |
| أنواع المهام | Asynchronous |
| نقطة نهاية API | /api/v1/ideogram_v3/reframe_image |
| وحدة الفوترة | call |
| معلمات الإدخال | aspect_ratio, output_count, rendering_speed, source_image_url, style |
| نسب العرض إلى الارتفاع | 1:1, 3:4, 9:16, 4:3, 16:9 |
| حالة الكتالوج | جاهز للتشغيل |
سجّل مجانًا وأنشئ مفتاح API لـ ideogram-v3-reframe من لوحة التحكم.
أرسل طلب POST إلى /api/v1/ideogram_v3/reframe_image باستخدام معرّف نموذج ideogram-v3-reframe ومعلماتك.
استطلع المهمة أو اتبع الاستدعاء الراجع لاسترداد نتيجة ideogram-v3-reframe المكتملة.
اضبط 5 معاملاً موثَّقاً، بما يشمل aspect_ratio, output_count, rendering_speed, source_image_url, style.
يعرض 1 endpoint(s) عامة: reframe_image.
محسوبة بـ call دون اشتراط اشتراك.
styleلا يوجد وصف متاح. (auto, general, realistic, design)
aspect_ratioلا يوجد وصف متاح. (1:1, 3:4, 9:16, 4:3, 16:9)
output_countلا يوجد وصف متاح. (1, 2, 3, 4)
rendering_speedلا يوجد وصف متاح. (turbo, balanced, quality)
source_image_urlلا يوجد وصف متاح.
أنشئ تلقائيًا صور منتجات بأسلوب lifestyle لكتالوجات التجارة الإلكترونية التي تفتقر إلى تصوير استوديو.
ابتكر سريعًا مفاهيم للعوالم والشخصيات قبل الانتقال إلى العمل الفني النهائي.
أنشئ أعمال غلاف ورسومًا توضيحية فريدة للمدونات والمقالات على نطاق واسع.
مرّر معرّف النموذج الظاهر في دليل البدء السريع.
تتدرج حدود المعدل لكل مفتاح بحسب مستوى الاستخدام. راجع صفحة التسعير للاطلاع على الحدود الحالية.
نعم — المتغير مجرد خيار. بدّل عبر تغيير معامل model.
حيثما يتوفر البث، يقدّم RunAPI البث من البداية إلى النهاية.
افتح issue في مستودع GitHub العام أو راسل الدعم عبر البريد الإلكتروني.