メインコンテンツへスキップ
POST
https://test.aireiter.com
/
api
/
openapi
/
submit
curl --request POST \
  --url https://test.aireiter.com/api/openapi/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "veo3_1_fast",
    "params": {
      "prompt": "山間の霧がゆっくり流れる",
      "image_url": "https://example.com/start.jpg",
      "end_image_url": "https://example.com/end.jpg",
      "aspect_ratio": "16:9"
    },
    "out_task_id": "my_task_123456"
  }'
{
  "statusCode": 200,
  "message": "",
  "data": {
      "task_id": "order_p9EyMzcBxkH7zxQhlnP6k",
      "out_task_id": "my_task_123456",
      "out_task_id": "my_task_123456",
      "status": "pending",
      "estimated_credits": 100,
      "created_at": "2025-12-22T06:03:28.242Z"
  }
}

Authorizations

Authorization
string
必須
すべてのエンドポイントはBearer Tokenによる認証が必要ですAPIキーの取得:APIキー管理ページ にアクセスしてAPIキーを取得してください使用時はリクエストヘッダーに以下を追加してください:
Authorization: Bearer YOUR_API_KEY

Body

model
string
必須
モデル名固定値:"veo3_1_fast"
params
object
必須
モデルのパラメーターオブジェクト
out_task_id
string
必須
発信者タスクIDユーザー定義のタスク識別子、必須
callback_url
string
タスク完了後のコールバック通知先URLタスク完了後、システムはこのURLにPOSTリクエストで結果を通知します
metadata
object
カスタムメタデータクエリ結果でそのまま返され、ビジネス識別に利用可能

Response

task_id
string
タスクID。結果を照会するために使用します
out_task_id
string
発信者のタスクID。結果を照会するために使用可能です
status
string
初期状態。固定値は "pending"
estimated_credits
number
推定消費クレジット
created_at
string
作成日時(ISOフォーマット)
curl --request POST \
  --url https://test.aireiter.com/api/openapi/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "veo3_1_fast",
    "params": {
      "prompt": "山間の霧がゆっくり流れる",
      "image_url": "https://example.com/start.jpg",
      "end_image_url": "https://example.com/end.jpg",
      "aspect_ratio": "16:9"
    },
    "out_task_id": "my_task_123456"
  }'
{
  "statusCode": 200,
  "message": "",
  "data": {
      "task_id": "order_p9EyMzcBxkH7zxQhlnP6k",
      "out_task_id": "my_task_123456",
      "out_task_id": "my_task_123456",
      "status": "pending",
      "estimated_credits": 100,
      "created_at": "2025-12-22T06:03:28.242Z"
  }
}