
텍스트를 이미지로
텍스트 프롬프트에서 AI 이미지 만들기
Alibaba Wan 3.0 이미지 동영상 생성 API를 무료로 체험하고 시작 이미지부터 선택한 마지막 프레임까지 원하는 시각적 흐름을 Flaq AI에서 만들어 보세요.
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: 'wan-3.0-image-to-video',
prompt: 'The camera glides forward as daylight gradually shifts into a warm evening glow',
image_url: 'https://example.com/start-frame.jpg',
image_end_url: 'https://example.com/end-frame.jpg',
duration: 8,
resolution: '1080p',
aspect_ratio: '16:9',
sound: true,
seed: 42
})
});
const { data } = await response.json();
const taskId = data.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': 'wan-3.0-image-to-video',
'prompt': 'The camera glides forward as daylight gradually shifts into a warm evening glow',
'image_url': 'https://example.com/start-frame.jpg',
'image_end_url': 'https://example.com/end-frame.jpg',
'duration': 8,
'resolution': '1080p',
'aspect_ratio': '16:9',
'sound': True,
'seed': 42
}
)
result = response.json()
task_id = result['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": "wan-3.0-image-to-video",
"prompt": "The camera glides forward as daylight gradually shifts into a warm evening glow",
"image_url": "https://example.com/start-frame.jpg",
"image_end_url": "https://example.com/end-frame.jpg",
"duration": 8,
"resolution": "1080p",
"aspect_ratio": "16:9",
"sound": true,
"seed": 42
}'
# 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"
| 매개변수 | 가격 | 원래 가격 | 할인 |
|---|
Wan 3.0 이미지-비디오 API는 필수 시작 및 종료 프레임 사이의 비디오 전환을 생성합니다. 개발자는 두 이미지를 자연어 모션 프롬프트, 유연한 재생 시간, 다양한 해상도와 화면 비율, 선택적 사운드 및 시드 제어와 결합할 수 있습니다. Flaq AI는 이미지 기반 비디오 결과의 생성, 모니터링 및 검색을 위한 작업 기반 통합을 제공합니다.
참고 두 프레임 이미지가 모두 필요합니다. PNG 이미지에는 알파 채널이 없어야 합니다. 두 프레임의 구도를 요청한 화면 비율에 맞추고 게시 전에 전환의 연속성과 아티팩트를 검토하세요.
Wan 3.0 vs. Wan 2.7 Image-to-Video
Wan 2.7은 선택적인 종료 프레임 안내와 함께 시작 프레임을 애니메이션으로 만들 수 있습니다. Wan 3.0은 두 프레임을 모두 요구하여 모든 요청에서 의도한 시작과 끝을 명확하게 지정합니다.
Wan 3.0 vs. Vidu Q3 Image-to-Video
Vidu Q3는 이미지 기반 비디오 워크플로와 전환 변형을 지원합니다. Wan 3.0은 필수 시작 및 종료 프레임 제어를 중심으로 하는 Wan 제품군 경로를 제공합니다.
Wan 3.0 vs. PixVerse C1 Image-to-Video
PixVerse C1은 첫 프레임 애니메이션과 전환 워크플로를 분리합니다. Wan 3.0은 필수 끝점 이미지와 하나의 프롬프트, 일관된 비디오 제어 기능을 결합합니다.
Wan 3.0 vs. Kling 3.0 Turbo Image-to-Video
Kling 3.0 Turbo는 빠른 이미지 애니메이션을 목표로 합니다. Wan 3.0은 Alibaba 지향 API 워크플로 내에서 명시적인 최종 프레임 방향을 중시하는 팀을 위한 대안입니다.
Wan 3.0 vs. Veo 3.1 Image-to-Video
Veo 3.1은 Google의 이미지-비디오 통합을 제공합니다. Wan 3.0은 필수 끝점 프레임과 유연한 출력 설정을 갖춘 또 다른 프로덕션 옵션을 개발자에게 제공합니다.
브라우저에서 빠른 이미지 및 비디오 워크플로를 위한 여러 AI 제작 도구를 살펴본 뒤, 성공한 아이디어를 Flaq AI의 프로덕션 준비 모델 API로 확장하세요. Flaq AI는 모든 모델을 위한 통합 API 레이어를 제공해 워크플로를 쉽게 사용하고 확장할 수 있게 합니다.