Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Save_voice for helm mcp: the picked take becomes its designed voice's clip, set on the asset

POST
/v1/studio/magic/boards/{board_id}/assets/{asset_id}/voice
curl --request POST \
--url http://localhost:8300/v1/studio/magic/boards/example/assets/example/voice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "revision": 1, "take_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "consent": true }'

consent: true is the voice-rights OK (the card’s Yes in the app); without it 422 consent: say you have the right to use this voice (consent: true). 200 {voice_id, revision, summary}, one board revision. 409 when revision is not the current one; 422 for a take not made by design_voice or under 3 s.

board_id
required
string

A Magic board’s UUID (another user’s or malformed = 404)

asset_id
required

A lane’s, block’s, transition’s or asset’s id, unique on the board (lanes, blocks and transitions share one namespace); studio makes b<n>, l<n>, t<n>

string
/^[A-Za-z0-9_-]{1,40}$/

A character of the board

Media typeapplication/json

Save_voice’s input with the asset in the path and the voice-rights OK

object
revision
required
integer
>= 1
take_id
required
string format: uuid
consent
required

True: you have the right to use this voice (the card’s Yes in the app)

boolean

Example generated

{
"revision": 1,
"take_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"consent": true
}

Kept

Media typeapplication/json
object
voice_id
required
string format: uuid
revision
required
integer
>= 1
summary
required
string

Example generated

{
"voice_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"revision": 1,
"summary": "example"
}

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

The resource’s state forbids this

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Invalid input

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}