
텍스트를 이미지로
텍스트 프롬프트에서 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-video-edit',
prompt: 'Turn the daytime scene into a rainy evening while preserving the subject and camera movement',
video_url: 'https://example.com/source-video.mp4',
duration: 10,
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-video-edit',
'prompt': 'Turn the daytime scene into a rainy evening while preserving the subject and camera movement',
'video_url': 'https://example.com/source-video.mp4',
'duration': 10,
'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-video-edit",
"prompt": "Turn the daytime scene into a rainy evening while preserving the subject and camera movement",
"video_url": "https://example.com/source-video.mp4",
"duration": 10,
"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는 원본 영상을 제출하고, 편집을 추적하며, 변환된 동영상을 가져올 수 있는 작업 기반 API 워크플로를 제공합니다.
참고 원본 동영상은 지원되는 형식, 길이, 크기 제한을 충족해야 합니다. 원본 길이와 요청한 출력 길이의 합계는 통합 제한을 초과할 수 없으므로 제출 전에 길이를 확인하세요.
Wan 3.0과 Wan 2.7 Video Edit 비교
Wan 2.7은 자체 참조 제어 기능을 갖춘 프롬프트 기반 원본 동영상 편집을 제공합니다. Wan 3.0은 길이, 해상도, 비율, 사운드, 시드를 명시적으로 설정할 수 있는 원본 동영상 중심 워크플로를 사용합니다.
Wan 3.0과 Kling Video O3 Video Edit 비교
Kling Video O3는 편집과 추가 동영상 생성 모드를 지원합니다. Wan 3.0은 업로드한 영상을 변환하는 Wan 제품군의 직접적인 경로가 필요한 팀에 적합합니다.
Wan 3.0과 Runway Aleph 비교
Runway Aleph는 더 광범위한 크리에이티브 편집 환경의 일부입니다. Wan 3.0은 자체 애플리케이션과 작업 흐름을 통해 원본 동영상 변환을 조정하려는 개발자를 지원합니다.
Wan 3.0과 Adobe Firefly Video 비교
Adobe Firefly Video는 동영상 생성 및 편집을 Adobe의 크리에이티브 생태계와 연결합니다. Wan 3.0은 맞춤형 제품 내 프롬프트 기반 편집을 위한 Alibaba 중심 API 옵션을 제공합니다.
Wan 3.0과 Pika 비교
Pika는 사용하기 쉬운 크리에이티브 효과와 변환을 강조합니다. Wan 3.0은 구조화된 요청, 구성 가능한 출력 설정, 프로그래밍 방식의 작업 처리를 위해 설계되었습니다.
브라우저에서 빠른 이미지 및 비디오 워크플로를 위한 여러 AI 제작 도구를 살펴본 뒤, 성공한 아이디어를 Flaq AI의 프로덕션 준비 모델 API로 확장하세요. Flaq AI는 모든 모델을 위한 통합 API 레이어를 제공해 워크플로를 쉽게 사용하고 확장할 수 있게 합니다.