projects

音声を作る(MP4 の前に必須)

Changed on
post/api/v1/projects/{projectId}/audio/generate

Request

  • Base URL: https://app.yukkurigen.com
  • URL: https://app.yukkurigen.com/api/v1/projects/{projectId}/audio/generate
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

projectIdstring required

Headers

Prefer'respond-async'

respond-async を付けて呼ぶと、即座に 202 が返りジョブが作られる(RFC 7240。サーバの設定によっては付けてもジョブにならず、同期で処理して 200 を返す)。省略すると同期処理(既存互換。サーバの設定によっては、同じ受け付けのあと一定時間だけ完了を待ち、終われば同期と同じ 200 か同じ形のエラー、終わらなければ Preference-Applied なしの 202 を返す)。REST から呼ぶときは Prefer: respond-async と Idempotency-Key ヘッダを付けること(同期で処理されたときは Idempotency-Key は効かない)。

Request body

lineIdsstring[]

対象の行ID(get_project の lines[].id)。**省略すると、音声が無い行と、読みの辞書の変更で読みが変わった行(audio_stale)すべて。**指定した行のうち、音声があって読みも変わっていない行は force が無ければ作らない

forceboolean

既に音声がある行も作り直す(既定 false)

Response

合成した行数(同期パス。Prefer なしの呼び出しをサーバが待つ設定で、待つ間にジョブが終わったときも同じ形)

successboolean
generatedinteger
failedinteger
skippedinteger
resultsobject[]

Changes

    • warning

      added the new already_subscribed enum value to the response property for the response status

    • warning

      added the new already_subscribed enum value to the response property for the response status

    • warning

      added the new already_subscribed enum value to the response property for the response status

    • warning

      added the new already_subscribed enum value to the response property for the response status

    • warning

      added the new already_subscribed enum value to the response property for the response status

    • warning

      added the new render_not_paid enum value to the response property for the response status

    • warning

      added the new render_not_paid enum value to the response property for the response status

    • warning

      added the new render_not_paid enum value to the response property for the response status

    • warning

      added the new render_not_paid enum value to the response property for the response status

    • warning

      added the new render_not_paid enum value to the response property for the response status

    • warning

      added the new render_not_ready enum value to the response property for the response status

    • warning

      added the new render_not_ready enum value to the response property for the response status

    • warning

      added the new render_not_ready enum value to the response property for the response status

    • warning

      added the new render_not_ready enum value to the response property for the response status

    • warning

      added the new render_not_ready enum value to the response property for the response status

    • warning

      added the new tts_quota_exceeded enum value to the response property for the response status

    • warning

      added the new tts_quota_exceeded enum value to the response property for the response status

    • warning

      added the new tts_quota_exceeded enum value to the response property for the response status

    • warning

      added the new tts_quota_exceeded enum value to the response property for the response status

    • warning

      added the new tts_quota_exceeded enum value to the response property for the response status

    • warning

      added the new youtube_not_connected enum value to the response property for the response status

    • warning

      added the new youtube_not_connected enum value to the response property for the response status

    • warning

      added the new youtube_not_connected enum value to the response property for the response status

    • warning

      added the new youtube_not_connected enum value to the response property for the response status

    • warning

      added the new youtube_not_connected enum value to the response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status