메인 콘텐츠로 건너뛰기
POST
/
api
/
openapi
/
submit
curl --request POST \
  --url https://aireiter.com/api/openapi/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "kling_3_0_motion_control",
    "params": {
      "prompt": "캐릭터가 참고 영상에 맞춰 자연스럽게 춤추도록 하며, 주체 아이덴티티를 유지",
      "image_url": "https://example.com/subject.png",
      "video_url": "https://example.com/motion.mp4",
      "resolution": "720p",
      "character_orientation": "video",
      "background_source": "input_video"
    },
    "out_task_id": "my_task_123456"
  }'
import requests

url = "https://aireiter.com/api/openapi/submit"

payload = {
    "model": "kling_3_0_motion_control",
    "params": {
        "prompt": "캐릭터가 참고 영상에 맞춰 자연스럽게 춤추도록 하며, 주체 아이덴티티를 유지",
        "image_url": "https://example.com/subject.png",
        "video_url": "https://example.com/motion.mp4",
        "resolution": "720p",
        "character_orientation": "video",
        "background_source": "input_video"
    },
    "out_task_id": "my_task_123456"
}

headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())
const url = "https://aireiter.com/api/openapi/submit";

const payload = {
  model: "kling_3_0_motion_control",
  params: {
    prompt: "캐릭터가 참고 영상에 맞춰 자연스럽게 춤추도록 하며, 주체 아이덴티티를 유지",
    image_url: "https://example.com/subject.png",
    video_url: "https://example.com/motion.mp4",
    resolution: "720p",
    character_orientation: "video",
    background_source: "input_video"
  },
  out_task_id: "my_task_123456"
};

fetch(url, {
  method: "POST",
  headers: {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
{
  "out_task_id": "<string>",
  "status": "<string>",
  "estimated_credits": 123,
  "created_at": "<string>"
}

Authorizations

Authorization
string
필수
모든 엔드포인트는 Bearer Token 인증이 필요합니다.API Key 획득 방법:API Key 관리 페이지에서 API Key를 획득하세요.요청 헤더에 다음과 같이 추가하여 사용합니다:
Authorization: Bearer YOUR_API_KEY

Body

model
string
필수
모델 이름:
  • "kling_3_0_motion_control" - 기본값
params
object
필수
모델 파라미터 객체
out_task_id
string
필수
요청자 작업 ID사용자 정의 작업 식별자, 필수

Response

out_task_id
string
요청자 작업 ID, 결과 조회에 사용할 수 있음
status
string
초기 상태, 고정값 "pending"
estimated_credits
number
예상 소모 포인트
created_at
string
생성 시간 (ISO 형식)
curl --request POST \
  --url https://aireiter.com/api/openapi/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "kling_3_0_motion_control",
    "params": {
      "prompt": "캐릭터가 참고 영상에 맞춰 자연스럽게 춤추도록 하며, 주체 아이덴티티를 유지",
      "image_url": "https://example.com/subject.png",
      "video_url": "https://example.com/motion.mp4",
      "resolution": "720p",
      "character_orientation": "video",
      "background_source": "input_video"
    },
    "out_task_id": "my_task_123456"
  }'
import requests

url = "https://aireiter.com/api/openapi/submit"

payload = {
    "model": "kling_3_0_motion_control",
    "params": {
        "prompt": "캐릭터가 참고 영상에 맞춰 자연스럽게 춤추도록 하며, 주체 아이덴티티를 유지",
        "image_url": "https://example.com/subject.png",
        "video_url": "https://example.com/motion.mp4",
        "resolution": "720p",
        "character_orientation": "video",
        "background_source": "input_video"
    },
    "out_task_id": "my_task_123456"
}

headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())
const url = "https://aireiter.com/api/openapi/submit";

const payload = {
  model: "kling_3_0_motion_control",
  params: {
    prompt: "캐릭터가 참고 영상에 맞춰 자연스럽게 춤추도록 하며, 주체 아이덴티티를 유지",
    image_url: "https://example.com/subject.png",
    video_url: "https://example.com/motion.mp4",
    resolution: "720p",
    character_orientation: "video",
    background_source: "input_video"
  },
  out_task_id: "my_task_123456"
};

fetch(url, {
  method: "POST",
  headers: {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));