Jobs
ジョブをキャンセル
生成開始前だけキャンセルできます。開始済みは 409 job_generation_already_started を返します。
POST
/v1/creative/jobs/{id}/cancel
curl --request POST 'https://api.orchestor.io/v1/creative/jobs/job_7513b52d-3669-4ffe-b317-8b02000715eb/cancel' \ --header "Authorization: Bearer $ORCHESTOR_API_KEY"{ "data": { "request_id": "job_7513b52d-3669-4ffe-b317-8b02000715eb", "job_id": "job_7513b52d-3669-4ffe-b317-8b02000715eb", "status": "CANCELED", "canceled": true, "idempotency_hit": false, "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", "cancellation": { "supported": true, "requested": true, "message": "生成開始前に取り消しました。" }, "job": { "id": "job_7513b52d-3669-4ffe-b317-8b02000715eb", "type": "image_generation", "status": "canceled", "model": "gpt-image-2", "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": "2026-11-06T00:00:00Z", "result": null, "error": null, "usage_summary": null, "webhook_delivery": null, "input": { "model": "gpt-image-2", "prompt": "白い背景の上に置いた青い陶器の花瓶", "aspect_ratio": "1:1", "mode": "async" } } }}Authorizations
Satisfy one of these options:
bearerAuthx-api-keySession cookie
Authentication details
bearer
Authorization
外部 API キー。session は受け付けません。apiKey と同時に送ると 401 です。
Path Parameters
Response
application/json
取消結果と更新済みのジョブ。canceled が true なら生成開始前の取消が完了しています。
Headers
{ "data": { "request_id": "job_7513b52d-3669-4ffe-b317-8b02000715eb", "job_id": "job_7513b52d-3669-4ffe-b317-8b02000715eb", "status": "CANCELED", "canceled": true, "idempotency_hit": false, "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", "cancellation": { "supported": true, "requested": true, "message": "生成開始前に取り消しました。" }, "job": { "id": "job_7513b52d-3669-4ffe-b317-8b02000715eb", "type": "image_generation", "status": "canceled", "model": "gpt-image-2", "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": "2026-11-06T00:00:00Z", "result": null, "error": null, "usage_summary": null, "webhook_delivery": null, "input": { "model": "gpt-image-2", "prompt": "白い背景の上に置いた青い陶器の花瓶", "aspect_ratio": "1:1", "mode": "async" } } }}Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
切り出し時は音声の保持・削除を選び、分析結果では検出した音声情報を返します。
Show child attributes
Show child attributes
Show child attributes
生成入力が受理済み原稿と一致したことを示す、サーバー発行の証明。
- Additional properties
- Not allowed
Show child attributes
原稿内の文を示す ID の配列。生成入力では重複させず、連続した原稿順に指定します。
モデルが capabilities.settings に公開している音量・速度・感情の設定だけを指定します。
Show child attributes
使用する声の指定。モデルの voice_family に一致する一覧から ID を選びます。
- Additional properties
- Not allowed
出力音声の形式。モデルの capabilities.output_formats にある組み合わせを指定します。
- Additional properties
- Not allowed
Show child attributes
Show child attributes
Show child attributes
背景を文章または写真で指定します。
- Additional properties
- Not allowed
Show child attributes
失敗原因を識別する機械処理向けコード。message の文字列で分岐しないでください。
Allowed
bad_requestinvalid_requestunknown_parameterunauthorizedsession_not_acceptedinsufficient_fundsnot_enough_creditsapi_key_spend_limit_exceededinsufficient_scopeopen_key_route_not_allowedopen_key_requirednot_foundproject_not_foundcanvas_template_not_foundcanvas_share_not_foundcanvas_share_passphrase_requiredidempotency_conflictdraft_expiredjob_not_completedjob_failedjob_canceledjob_generation_already_startedjob_not_cancelablewebhook_not_configuredjob_not_terminalasset_upload_incompletetop_up_in_dashboardpayload_too_largeasset_too_largeunsupported_media_typequeue_fullrate_limitedprovider_rate_limitedinternal_errorbilling_in_dashboardprovider_submission_failedprovider_capacity_exceededprovider_not_configureddatabase_busydeploy_drainingoverloadedreplica_not_readyapi_key_auth_unavailableasset_storage_unavailablevideo_analysis_failedShow child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
背景を文章または写真で指定します。
- Additional properties
- Not allowed