メインコンテンツへスキップ
POST
/
v1
/
videos
/
generations
sora-character API
curl --request POST \
  --url https://api.evolink.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "sora-character",
  "video_url": "https://example.com/video.mp4",
  "timestamps": "1,3"
}
'
{
  "created": 1767917446,
  "id": "task-unified-1767917446-5lqy8zzv",
  "model": "sora-character",
  "object": "video.generation.task",
  "progress": 0,
  "status": "pending",
  "task_info": {
    "can_cancel": true,
    "estimated_time": 150,
    "video_duration": 8
  },
  "type": "video",
  "usage": {
    "billing_rule": "per_call",
    "credits_reserved": 0.1,
    "user_group": "vip"
  },
  "result_data": {
    "character_name": "chr_Axtjik3O#",
    "profile_picture_url": "https://example.com/profile.jpg"
  }
}

承認

Authorization
string
header
必須

##すべてのAPIにBearer Token認証が必要です##

APIキーの取得:

APIキー管理ページにアクセスしてAPIキーを取得してください

リクエストヘッダーに追加:

Authorization: Bearer YOUR_API_KEY

ボディ

application/json
model
enum<string>
デフォルト:sora-character
必須

モデル名

利用可能なオプション:
sora-character
:

"sora-character"

video_url
string<uri>
必須

動画URL

注意:

  • 動画URLはサーバーから直接アクセス可能である必要があります
  • サポートされる形式: .mp4.mov.webm
:

"https://example.com/video.mp4"

timestamps
string

キャラクターを抽出する時間ポイントを指定するタイムスタンプ

形式:

  • カンマで複数の時間ポイントを区切ります。例: 1,3 は1秒目と3秒目を意味します
  • 時間の単位は秒です
  • 時間範囲の制限: 選択した時間ポイント間のスパンは 2秒 を超えてはなりません
  • デフォルト: 0,2(0秒から2秒まで)
:

"1,3"

レスポンス

キャラクター生成タスクが正常に作成されました

created
integer

タスク作成タイムスタンプ

:

1767917446

id
string

タスクステータスを照会するためのタスクID

:

"task-unified-1767917446-5lqy8zzv"

model
string

使用されたモデル名

:

"sora-character"

object
enum<string>

タスクオブジェクトタイプ

利用可能なオプション:
video.generation.task
progress
integer

タスク進捗率(0-100)

必須範囲: 0 <= x <= 100
:

0

status
enum<string>

タスクステータス

利用可能なオプション:
pending,
processing,
completed,
failed
:

"pending"

task_info
object
type
enum<string>

タスク出力タイプ

利用可能なオプション:
video
:

"video"

usage
object
result_data
object

結果データ(ステータスが completed の場合のみ返されます)