curl --request POST \ --url https://api.apimart.ai/v1/videos/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "pixverse-v6", "prompt": "A cinematic shot of a corgi running through a sunflower field at golden hour", "size": "16:9", "resolution": "540p", "duration": 5 }'
import requestsurl = "https://api.apimart.ai/v1/videos/generations"payload = { "model": "pixverse-v6", "prompt": "A cinematic shot of a corgi running through a sunflower field at golden hour", "size": "16:9", "resolution": "540p", "duration": 5}headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json"}response = requests.post(url, json=payload, headers=headers)print(response.json())
const url = "https://api.apimart.ai/v1/videos/generations";const payload = { model: "pixverse-v6", prompt: "A cinematic shot of a corgi running through a sunflower field at golden hour", size: "16:9", resolution: "540p", duration: 5};const headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json"};fetch(url, { method: "POST", headers: headers, body: JSON.stringify(payload)}) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error("Error:", error));
{ "error": { "code": 429, "message": "요청이 너무 많습니다. 잠시 후 다시 시도하세요", "type": "rate_limit_error" }}
Pixverse v6
Pixverse v6 비디오 생성
Pixverse v6 통합 비디오 생성 모델
텍스트→비디오, 이미지→비디오, 시작/종료 프레임 전환, 다중 참조 이미지 융합, 비디오 연장 지원
360p/540p/720p/1080p 해상도, 1-15초 비디오 길이 지원
비동기 작업 API. 제출 후 작업 ID로 결과를 조회합니다.
POST
/
v1
/
videos
/
generations
curl --request POST \ --url https://api.apimart.ai/v1/videos/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "pixverse-v6", "prompt": "A cinematic shot of a corgi running through a sunflower field at golden hour", "size": "16:9", "resolution": "540p", "duration": 5 }'
import requestsurl = "https://api.apimart.ai/v1/videos/generations"payload = { "model": "pixverse-v6", "prompt": "A cinematic shot of a corgi running through a sunflower field at golden hour", "size": "16:9", "resolution": "540p", "duration": 5}headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json"}response = requests.post(url, json=payload, headers=headers)print(response.json())
const url = "https://api.apimart.ai/v1/videos/generations";const payload = { model: "pixverse-v6", prompt: "A cinematic shot of a corgi running through a sunflower field at golden hour", size: "16:9", resolution: "540p", duration: 5};const headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json"};fetch(url, { method: "POST", headers: headers, body: JSON.stringify(payload)}) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error("Error:", error));
{ "error": { "code": 429, "message": "요청이 너무 많습니다. 잠시 후 다시 시도하세요", "type": "rate_limit_error" }}
curl --request POST \ --url https://api.apimart.ai/v1/videos/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "pixverse-v6", "prompt": "A cinematic shot of a corgi running through a sunflower field at golden hour", "size": "16:9", "resolution": "540p", "duration": 5 }'
import requestsurl = "https://api.apimart.ai/v1/videos/generations"payload = { "model": "pixverse-v6", "prompt": "A cinematic shot of a corgi running through a sunflower field at golden hour", "size": "16:9", "resolution": "540p", "duration": 5}headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json"}response = requests.post(url, json=payload, headers=headers)print(response.json())
const url = "https://api.apimart.ai/v1/videos/generations";const payload = { model: "pixverse-v6", prompt: "A cinematic shot of a corgi running through a sunflower field at golden hour", size: "16:9", resolution: "540p", duration: 5};const headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json"};fetch(url, { method: "POST", headers: headers, body: JSON.stringify(payload)}) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error("Error:", error));
{ "model": "pixverse-v6", "prompt": "the character now walks into a forest", "extend_from_task_id": "task_01JWXXXXXXXXXXXX", "resolution": "540p", "duration": 5}