유연한 파라미터
aspect_ratio, output_count, rendering_speed, source_image_url, style 포함 5개 문서화된 파라미터를 설정할 수 있습니다.
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": "상단에 볼드 세리프 폰트로 제목이 있고 배경에 우주 정거장이 있는 'The Last Frontier' 영화 포스터를 만들어 주세요."
}'
import { IdeogramV3Client } from "@runapi.ai/ideogram-v3";
const client = new IdeogramV3Client();
const result = await client.reframeImage.run({
model: "ideogram-v3-reframe",
prompt: "상단에 볼드 세리프 폰트로 제목이 있고 배경에 우주 정거장이 있는 'The Last Frontier' 영화 포스터를 만들어 주세요.",
});
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":"상단에 볼드 세리프 폰트로 제목이 있고 배경에 우주 정거장이 있는 'The Last Frontier' 영화 포스터를 만들어 주세요."}
)
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' => '상단에 볼드 세리프 폰트로 제목이 있고 배경에 우주 정거장이 있는 \'The Last Frontier\' 영화 포스터를 만들어 주세요.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.reframeImage().run({"model":"ideogram-v3-reframe","prompt":"상단에 볼드 세리프 폰트로 제목이 있고 배경에 우주 정거장이 있는 'The Last Frontier' 영화 포스터를 만들어 주세요."});
task.waitForResult();
require "runapi/ideogram_v3"
client = RunApi::IdeogramV3::Client.new
result = client.reframe_image.run(
model: "ideogram-v3-reframe",
prompt: "상단에 볼드 세리프 폰트로 제목이 있고 배경에 우주 정거장이 있는 'The Last Frontier' 영화 포스터를 만들어 주세요."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.reframeImage.Run({"model":"ideogram-v3-reframe","prompt":"상단에 볼드 세리프 폰트로 제목이 있고 배경에 우주 정거장이 있는 'The Last Frontier' 영화 포스터를 만들어 주세요."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model ideogram-v3-reframe \
--endpoint reframe_image \
--wait
사용 가능한 버전 7개
| 제공자 | Ideogram |
| 모델 ID | ideogram-v3-reframe |
| 모달리티 | 이미지 |
| 작업 유형 | Asynchronous |
| API 엔드포인트 | /api/v1/ideogram_v3/reframe_image |
| 청구 단위 | 회 |
| 입력 매개변수 | aspect_ratio, output_count, rendering_speed, source_image_url, style |
| 종횡비 | 1:1, 3:4, 9:16, 4:3, 16:9 |
| 카탈로그 상태 | 지원 종료 |
무료로 가입하고 대시보드에서 ideogram-v3-reframe용 API 키를 만드세요.
/api/v1/ideogram_v3/reframe_image로 ideogram-v3-reframe 모델 ID와 매개변수를 포함한 POST 요청을 보내세요.
작업을 폴링하거나 콜백을 따라 완료된 ideogram-v3-reframe 결과를 가져오세요.
aspect_ratio, output_count, rendering_speed, source_image_url, style 포함 5개 문서화된 파라미터를 설정할 수 있습니다.
1개의 공개 endpoint를 제공합니다: reframe_image.
회 기준으로 측정되며 구독 없이 이용 가능합니다.
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설명을 사용할 수 없습니다.
텍스트 prompt에서 시각 asset을 만듭니다.
prompt 지시에 따라 기존 이미지를 변환합니다.
SDK로 반복 가능한 생성을 구현합니다.
quickstart에 표시된 모델 ID를 전달하세요.
네. 호출 또는 단위 기준으로 측정됩니다.
네. variant는 요청 매개변수입니다. model ID만 변경하면 되며 코드 변경, 재인증, 별도 청구 설정이 필요하지 않습니다. 모든 variant는 같은 API key와 요청 형식을 공유합니다.
streaming이 가능한 경우 RunAPI는 엔드투엔드로 전송합니다. LLM 모델은 token 단위 streaming을 지원하며 미디어 모델은 비동기 작업 polling 또는 webhook callback으로 결과를 전달합니다.
공개 GitHub repo에 issue를 열거나 [email protected]로 이메일을 보내세요. 특정 생성 결과를 조사할 수 있도록 task ID와 model ID를 포함하세요.
아니요. RunAPI API key만 있으면 이 variant와 카탈로그의 모든 모델에 접근할 수 있습니다. 원래 제공사의 계정은 필요하지 않습니다.