메인 콘텐츠로 건너뛰기

개요

AI 비디오 생성은 빠르게 발전하고 있습니다. Ace Data Cloud는 텍스트 기반 비디오부터 이미지 기반 비디오까지 다양한 시나리오를 아우르는 7가지 비디오 생성 API를 제공합니다.

사용 가능한 비디오 생성 서비스

서비스엔드포인트모델특징
SoraPOST /sora/videossora-2, sora-2-proOpenAI 제작, 영화 수준 화질
VeoPOST /veo/videosveo3, veo3-fastGoogle 제작, 4K 지원
KlingPOST /kling/videoskling-v2-5-turboKuaishou 제작, 빠른 속도
LumaPOST /luma/videos시작 및 종료 프레임 제어
HailuoPOST /hailuo/videosminimax-t2vMiniMax 제작
SeedancePOST /seedance/videosdoubao-seedance-1-0-pro-250528ByteDance 제작
WanPOST /wan/videoswan2.6-t2vAlibaba 제작

빠른 시작

Sora 비디오 생성

import requests

response = requests.post(
    "https://api.acedata.cloud/sora/videos",
    headers={
        "Authorization": "Bearer YOUR_API_TOKEN",
        "Content-Type": "application/json",
    },
    json={
        "prompt": "A cat playing in a sunny garden",
        "model": "sora-2",
        "duration": 10,
        "orientation": "landscape",
    },
)
print(response.json())

Kling 비디오 생성

response = requests.post(
    "https://api.acedata.cloud/kling/videos",
    headers={
        "Authorization": "Bearer YOUR_API_TOKEN",
        "Content-Type": "application/json",
    },
    json={
        "action": "text2video",
        "prompt": "A white cat walking in the snow",
        "model": "kling-v2-5-turbo",
        "duration": 5,
        "aspect_ratio": "16:9",
    },
)
print(response.json())

Veo 비디오 생성

response = requests.post(
    "https://api.acedata.cloud/veo/videos",
    headers={
        "Authorization": "Bearer YOUR_API_TOKEN",
        "Content-Type": "application/json",
    },
    json={
        "action": "text2video",
        "prompt": "A coffee mug rotating on a marble counter",
        "model": "veo3",
    },
)
print(response.json())

비동기 작업 처리

비디오 생성은 일반적으로 시간이 오래 걸립니다. 모든 비디오 API는 다음을 지원합니다:
  1. 콜백 알림: 요청 시 callback_url을 설정하면 생성 완료 후 자동으로 결과를 푸시
  2. 폴링 조회: /tasks 엔드포인트를 통해 작업 진행 상태 조회
# 콜백 URL 사용
data = {
    "prompt": "A sunrise over mountains",
    "model": "sora-2",
    "callback_url": "https://your-server.com/webhook",
}

# 또는 작업 상태 폴링
task_response = requests.post("https://api.acedata.cloud/sora/tasks",
    headers={"Authorization": "Bearer YOUR_API_TOKEN"},
    json={"task_id": "your-task-id"})

선택 가이드

  • 최고 화질: Sora (sora-2-pro)
  • 최고 속도: Kling (kling-v2-5-turbo)
  • 최고 해상도: Veo (4K 지원)
  • 시작 및 종료 프레임 제어: Luma
  • 가성비: Wan
platform.acedata.cloud에서 무료 체험을 시작하세요.