characters

上げた画像から自分のキャラを作る

Changed on
post/api/v1/agent/characters

Request

  • Base URL: https://app.yukkurigen.com
  • URL: https://app.yukkurigen.com/api/v1/agent/characters
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

namestring required

キャラの名前(字幕の話者名にも出る)

imageUrlstring

立ち絵の画像の url(署名付きの url でもよい。保存は署名を落とした形)

imageAssetIdstring

立ち絵の画像の assetId

speakerIdinteger

声(GET /api/v1/voices の speakerId)

voiceOf'reimu' | 'marisa' | 'zundamon' | 'metan' | 'tsumugi' | 'anko'

組み込みキャラと同じ声にする

figure'full' | 'bust'

full=全身(字幕の上に収める)/ bust=上半身(画面の下端まで)。省略すると画面の下端まで

defaultScalenumber

立ち絵の大きさ(省略すると 1)。枠に合わせた大きさに掛ける(足元を支点に。行の stage の scale とも掛け合わせる)

Response

作ったキャラ(nextStep に次の手順)

characterIdstring required

話者 id(20文字の英数字)。list_characters の custom:true の id と同じ

namestring required
kind'png' | 'psd' required

png=画像1枚(表情ごとの画像を update_character で足せる)/ psd=PSD から取り込んだ部品を重ねて描くキャラ(表情・口は画面で)

imageUrlstring nullable

立ち絵(通常の顔)の url

emotionImagesobject

画像を設定した表情 → url(設定していない表情は近い表情か通常の顔で描かれる)

figure'full' | 'bust' nullable
defaultScalenumber

立ち絵の大きさ(0.5〜2。既定 1。枠に合わせた大きさに掛ける・足元を支点に)

templatesstring[] required

出せるテンプレート(tohoku-ahiru-talk)

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 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_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 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 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

    • 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

    • 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