출력 해상도
공개된 endpoint 스키마의 1k, 2k를 지원합니다.
curl -X POST https://runapi.ai/api/v1/flux_2/remix_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-2-pro-remix-image",
"prompt": "극적인 림 조명과 세밀한 디테일로 고양이를 안고 있는 우주비행사의 사실적인 스튜디오 초상 사진을 생성해 주세요."
}'
import { Flux2Client } from "@runapi.ai/flux-2";
const client = new Flux2Client();
const result = await client.remixImage.run({
model: "flux-2-pro-remix-image",
prompt: "극적인 림 조명과 세밀한 디테일로 고양이를 안고 있는 우주비행사의 사실적인 스튜디오 초상 사진을 생성해 주세요.",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/flux_2/remix_image",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"flux-2-pro-remix-image","prompt":"극적인 림 조명과 세밀한 디테일로 고양이를 안고 있는 우주비행사의 사실적인 스튜디오 초상 사진을 생성해 주세요."}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/flux_2/remix_image");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'flux-2-pro-remix-image',
'prompt' => '극적인 림 조명과 세밀한 디테일로 고양이를 안고 있는 우주비행사의 사실적인 스튜디오 초상 사진을 생성해 주세요.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.remixImage().run({"model":"flux-2-pro-remix-image","prompt":"극적인 림 조명과 세밀한 디테일로 고양이를 안고 있는 우주비행사의 사실적인 스튜디오 초상 사진을 생성해 주세요."});
task.waitForResult();
require "runapi/flux_2"
client = RunApi::Flux2::Client.new
result = client.remix_image.run(
model: "flux-2-pro-remix-image",
prompt: "극적인 림 조명과 세밀한 디테일로 고양이를 안고 있는 우주비행사의 사실적인 스튜디오 초상 사진을 생성해 주세요."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.remixImage.Run({"model":"flux-2-pro-remix-image","prompt":"극적인 림 조명과 세밀한 디테일로 고양이를 안고 있는 우주비행사의 사실적인 스튜디오 초상 사진을 생성해 주세요."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model flux-2-pro-remix-image \
--endpoint remix_image \
--wait
사용 가능한 버전 6개
원하는 모델을 선택하고 몇 초 만에 생성해보세요.
| 제공자 | Black Forest Labs |
| 모델 ID | flux-2-pro-remix-image |
| 모달리티 | 이미지 |
| 작업 유형 | Asynchronous |
| API 엔드포인트 | /api/v1/flux_2/remix_image |
| 청구 단위 | 회 |
| 입력 매개변수 | aspect_ratio, callback_url, enable_safety_checker, model, output_resolution, prompt, source_image_urls |
| 최대 해상도 | 1k, 2k |
| 종횡비 | 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, auto |
| 카탈로그 상태 | 운영 중 |
무료로 가입하고 대시보드에서 flux-2-pro-remix-image용 API 키를 만드세요.
/api/v1/flux_2/remix_image로 flux-2-pro-remix-image 모델 ID와 매개변수를 포함한 POST 요청을 보내세요.
작업을 폴링하거나 콜백을 따라 완료된 flux-2-pro-remix-image 결과를 가져오세요.
공개된 endpoint 스키마의 1k, 2k를 지원합니다.
aspect_ratio, enable_safety_checker, output_resolution, prompt, source_image_urls 포함 5개 문서화된 파라미터를 설정할 수 있습니다.
1개의 공개 endpoint를 제공합니다: remix_image.
비동기 태스크는 완료 알림을 위한 콜백 URL을 수락합니다.
promptImage editing instruction.
aspect_ratioOutput aspect ratio. (1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, auto)
callback_urlWebhook URL for async notifications.
output_resolutionOutput resolution. (1k, 2k)
source_image_urlsPublic source image URLs.
enable_safety_checkerEnable the safety checker.
텍스트 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와 카탈로그의 모든 모델에 접근할 수 있습니다. 원래 제공사의 계정은 필요하지 않습니다.