生成
音声を文字起こし
音声から文章と単語時刻を取得します。全文は成果物の JSON で取得できます。segmentation を指定すると文区間も返します。言語ヒントを省略すると自動判定します。 受付後は status_url を next_poll_after_seconds に従って確認し、result_ready が true になったら result_url を取得します。
POST
/v1/creative/stt-1.0/transcribe
curl --request POST 'https://api.orchestor.io/v1/creative/stt-1.0/transcribe' \ --header "Authorization: Bearer $ORCHESTOR_API_KEY" \ --header 'Content-Type: application/json' \ --data-raw '{"audio_url": "https://media.orchestor.io/inputs/narration.wav", "language_code": "ja", "segmentation": {"mode": "sentence"}, "mode": "async"}' \ --header 'Idempotency-Key: 9816bc88-9791-43a1-86c2-876dc7c544e8'{ "data": { "request_id": "job_7513b52d-3669-4ffe-b317-8b02000715eb", "job": { "id": "job_7513b52d-3669-4ffe-b317-8b02000715eb", "type": "speech_to_text", "status": "queued", "model": "orchestor/stt-1.0", "idempotency_key": "9816bc88-9791-43a1-86c2-876dc7c544e8", "communication_mode": "async", "created_at": "2026-11-06T00:00:00Z", "updated_at": "2026-11-06T00:00:00Z", "started_at": null, "completed_at": null, "canceled_at": null, "result": null, "error": null, "usage_summary": null, "webhook_delivery": null, "input": { "audio_url": "https://media.orchestor.io/inputs/narration.wav", "language_code": "ja", "segmentation": { "mode": "sentence" }, "mode": "async" } }, "status_url": "https://api.orchestor.io/v1/creative/jobs/job_7513b52d-3669-4ffe-b317-8b02000715eb/status", "result_url": "https://api.orchestor.io/v1/creative/jobs/job_7513b52d-3669-4ffe-b317-8b02000715eb/result", "events_url": "https://api.orchestor.io/v1/creative/jobs/job_7513b52d-3669-4ffe-b317-8b02000715eb/events", "cancel_url": "https://api.orchestor.io/v1/creative/jobs/job_7513b52d-3669-4ffe-b317-8b02000715eb/cancel", "cancelable": true, "next_action": "poll_status", "next_poll_after_seconds": 2, "recommended_poll_interval_seconds": 2, "retry_after_seconds": null, "result_ready": false, "terminal": false, "idempotency_hit": false, "usage": { "credits": 5, "usd": "0.05" }, "generation_limits": null }}認証
認証の詳細
bearer
ヘッダー
ボディapplication/json必須
{ "audio_url": "https://media.orchestor.io/inputs/narration.wav", "language_code": "ja", "segmentation": { "mode": "sentence" }, "mode": "async"}公開音声から文章と単語時刻を返します。料金は実ファイルの長さで決まり、申告した duration_seconds では変わりません。
- 追加プロパティ
- 許可しない
レスポンス
application/json
ジョブの現在状態と追跡 URL。受付は処理の完了を意味しません。
ヘッダー
{ "data": { "request_id": "job_7513b52d-3669-4ffe-b317-8b02000715eb", "job": { "id": "job_7513b52d-3669-4ffe-b317-8b02000715eb", "type": "speech_to_text", "status": "queued", "model": "orchestor/stt-1.0", "idempotency_key": "9816bc88-9791-43a1-86c2-876dc7c544e8", "communication_mode": "async", "created_at": "2026-11-06T00:00:00Z", "updated_at": "2026-11-06T00:00:00Z", "started_at": null, "completed_at": null, "canceled_at": null, "result": null, "error": null, "usage_summary": null, "webhook_delivery": null, "input": { "audio_url": "https://media.orchestor.io/inputs/narration.wav", "language_code": "ja", "segmentation": { "mode": "sentence" }, "mode": "async" } }, "status_url": "https://api.orchestor.io/v1/creative/jobs/job_7513b52d-3669-4ffe-b317-8b02000715eb/status", "result_url": "https://api.orchestor.io/v1/creative/jobs/job_7513b52d-3669-4ffe-b317-8b02000715eb/result", "events_url": "https://api.orchestor.io/v1/creative/jobs/job_7513b52d-3669-4ffe-b317-8b02000715eb/events", "cancel_url": "https://api.orchestor.io/v1/creative/jobs/job_7513b52d-3669-4ffe-b317-8b02000715eb/cancel", "cancelable": true, "next_action": "poll_status", "next_poll_after_seconds": 2, "recommended_poll_interval_seconds": 2, "retry_after_seconds": null, "result_ready": false, "terminal": false, "idempotency_hit": false, "usage": { "credits": 5, "usd": "0.05" }, "generation_limits": null }}