
텍스트를 이미지로
텍스트 프롬프트에서 AI 이미지 만들기
Kling O3 Pro API의 레퍼런스 동영상 생성으로, 요구도 높은 워크플로에서도 우수한 피사체 일관성, 뛰어난 결과, 그리고 안정적인 성능을 모두 경쟁력 있는 가격에 제공합니다. 대규모 프로젝트에도 이상적인 선택입니다. 개발자와 팀이 이미지, 동영상 또는 멀티모달 생성 흐름에 쉽게 연동할 수 있습니다.
const response = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'kling-video-o3-pro-reference-to-video',
prompt: 'Follow reference motion, consistent lighting',
video_url: 'https://example.com/source.mp4',
images: ['https://example.com/ref1.jpg'],
duration: 5
})
});
const { data } = await response.json();
const taskId = data.task_id;
// Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
// Placeholder numbering is 1-based for each media array:
// <<<image_1>>> = images[0], <<<image_2>>> = images[1], <<<video_1>>> = videos[0]
const mediaReferenceResponse = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model_name: 'kling-video-o3-pro-reference-to-video',
prompt: 'Bring the character from <<<image_1>>> into the cinematic setting from <<<image_2>>> and reproduce the action shown in <<<video_1>>>',
images: [
'https://example.com/character-reference.jpg',
'https://example.com/cinematic-setting-reference.jpg'
],
videos: ['https://example.com/action-reference.mp4'],
aspect_ratio: '16:9',
duration: 5,
sound: false
})
});
const { data: mediaReferenceData } = await mediaReferenceResponse.json();
const mediaReferenceTaskId = mediaReferenceData.task_id;
// Step 2: Poll for results
const taskId = data.task_id;
const pollResult = async (taskId) => {
const res = await fetch(`https://api.flaq.ai/api/v1/video/${taskId}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
return res.json();
};
while (true) {
const pollResultData = await pollResult(taskId);
const status = pollResultData.data.task_status;
if (status === 'succeed') {
console.log(pollResultData.data.task_result.videos[0].url);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, 10000));
}
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'kling-video-o3-pro-reference-to-video',
'prompt': 'Follow reference motion, consistent lighting',
'video_url': 'https://example.com/source.mp4',
'images': ['https://example.com/ref1.jpg'],
'duration': 5
}
)
task_id = response.json()['data']['task_id']
# Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
# Placeholder numbering is 1-based for each media array:
# <<<image_1>>> = images[0], <<<image_2>>> = images[1], <<<video_1>>> = videos[0]
media_reference_response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
json={
'model_name': 'kling-video-o3-pro-reference-to-video',
'prompt': 'Bring the character from <<<image_1>>> into the cinematic setting from <<<image_2>>> and reproduce the action shown in <<<video_1>>>',
'images': [
'https://example.com/character-reference.jpg',
'https://example.com/cinematic-setting-reference.jpg'
],
'videos': ['https://example.com/action-reference.mp4'],
'aspect_ratio': '16:9',
'duration': 5,
'sound': False
}
)
media_reference_task_id = media_reference_response.json()['data']['task_id']
# Step 2: Poll for results
task_id = response.json()['data']['task_id']
poll_url = f"https://api.flaq.ai/api/v1/video/{task_id}"
while True:
poll_result = requests.get(poll_url, headers={'Authorization': 'Bearer YOUR_API_KEY'}).json()
status = poll_result['data']['task_status']
if status == 'succeed':
print(poll_result['data']['task_result']['videos'][0]['url'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)
curl -X POST https://api.flaq.ai/api/v1/video/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "kling-video-o3-pro-reference-to-video",
"prompt": "Follow reference motion, consistent lighting",
"video_url": "https://example.com/source.mp4",
"images": ["https://example.com/ref1.jpg"],
"duration": 5
}'
# Use the @ (AT) reference feature in prompt through <<<...>>> placeholders.
# Placeholder numbering is 1-based for each media array:
# <<<image_1>>> = images[0], <<<image_2>>> = images[1], <<<video_1>>> = videos[0]
curl -X POST https://api.flaq.ai/api/v1/video/task \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model_name": "kling-video-o3-pro-reference-to-video",
"prompt": "Bring the character from <<<image_1>>> into the cinematic setting from <<<image_2>>> and reproduce the action shown in <<<video_1>>>",
"images": [
"https://example.com/character-reference.jpg",
"https://example.com/cinematic-setting-reference.jpg"
],
"videos": ["https://example.com/action-reference.mp4"],
"aspect_ratio": "16:9",
"duration": 5,
"sound": false
}'
# Step 2: Poll for results
# Replace {task_id} with the task_id returned from the submit response
curl -X GET "https://api.flaq.ai/api/v1/video/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
| 매개변수 | 가격 | 원래 가격 | 할인 |
|---|
Kuaishou Kling Video O3 Pro Reference-to-Video API는 개발자와 크리에이티브 팀을 위한 프리미엄 프로덕션급 AI 비디오 생성 서비스를 제공합니다. 이 고충실도 reference-to-video API 통합은 참조 비디오를 기반으로 3–15초 길이의 전문 비디오 클립을 생성할 수 있으며, 선택적 오디오 효과도 지원합니다. Kuaishou의 멀티모달 비주얼 언어(MVL) 아키텍처를 기반으로 구축된 Kling Video O3 Pro 모델은 Flaq AI에서 까다로운 상업적 응용 프로그램을 위해 참조 비디오 입력을 사용하여 생성을 안내할 때 최고의 품질과 동작 사실감을 제공합니다.
참고 프롬프트가 Kuaishou의 콘텐츠 안전 지침을 준수하는지 확인하십시오. 오류가 발생하면 프롬프트에서 제한된 콘텐츠를 검토하고 수정한 후 다시 시도하십시오.
Kling Video O3 Pro vs. Kling Video O3 Standard Reference-to-Video Kling Video O3 Standard는 낮은 가격으로 강력한 MVL 기반 참조 기반 생성을 제공합니다. Kling Video O3 Pro는 더 높은 가격으로 향상된 동작 충실도, 우수한 세부 렌더링, 프리미엄 품질을 제공합니다. 최고 품질이 필수적인 까다로운 상업적 응용 프로그램에 선호되는 선택입니다.
Kling Video O3 Pro vs. Kling Video O3 Pro Image-to-Video Kling Video O3 Pro Image-to-Video는 정적 이미지를 비디오 클립으로 애니메이션화합니다. Kling Video O3 Pro Reference-to-Video는 기존 비디오 클립을 동작 및 스타일 가이드로 사용합니다. 참조 영상에서 동작 패턴과 카메라 동작에 대한 정밀한 제어가 필요한 프리미엄 품질 출력 응용 프로그램에 이상적입니다.
Kling Video O3 Pro vs. Runway Gen-3 Reference Generation Runway Gen-3는 강력한 크리에이티브 제어와 예술적 유연성을 제공합니다. Kling Video O3 Pro Reference-to-Video API는 향상된 동작 충실도, 선택적 오디오 효과, 유연한 3–15초 길이 제어, MVL 기반 동작 추론을 통해 차별화됩니다. 프리미엄 상업적 참조 기반 생성에 더 우수합니다.
Kling Video O3 Pro vs. Pika Reference-to-Video Pika는 스타일화된 애니메이션과 사용자 친화적인 인터페이스에 탁월합니다. Kling Video O3 Pro는 프로그래밍 방식의 API 액세스, 향상된 동작 충실도, 최대 15초의 연장된 길이, 선택적 오디오 효과를 제공합니다. 프리미엄 참조 기반 비디오 파이프라인을 구축하는 개발자에게 이상적입니다.
Kling Video O3 Pro vs. Vidu Q3 Pro (Vidu) Vidu Q3 Pro는 Smart Cuts 멀티샷 스토리텔링을 통한 네이티브 오디오-비디오 생성에 탁월합니다. Kling Video O3 Pro Reference-to-Video API는 참조 비디오 기반 생성, 향상된 MVL 기반 동작 전달, 유연한 초당 가격을 통해 차별화됩니다. 프리미엄 품질로 정밀한 동작 스타일 제어가 필요한 응용 프로그램에 선호되는 선택입니다.
브라우저에서 빠른 이미지 및 비디오 워크플로를 위한 여러 AI 제작 도구를 살펴본 뒤, 성공한 아이디어를 Flaq AI의 프로덕션 준비 모델 API로 확장하세요. Flaq AI는 모든 모델을 위한 통합 API 레이어를 제공해 워크플로를 쉽게 사용하고 확장할 수 있게 합니다.