Voice

Adjust a voice description of a variant

Rewrites a voice description in one direction, such as "Older" or "Slower", and returns what changed plus directions that fit the new text. Without direction, returns only directions. No credit cost.

post/v1/mascots/{id}/variants/{variantId}/voice/adjust

Request

  • Base URL: https://api.masko.ai
  • URL: https://api.masko.ai/v1/mascots/{id}/variants/{variantId}/voice/adjust
  • Auth: HTTP bearer

Path parameters

idstring uuid required
variantIdstring uuid required

Headers

Idempotency-Keystring

Account-scoped key (1 to 255 characters, ideally a UUID). Retries must preserve the credential workspace, effective API version, URL, content type and exact body bytes, including multipart boundaries; different inputs return 409 idempotency_key_reused. Completed responses, including 500 errors, replay for 24 hours after completion with current resource access checked again. Running or unconfirmed executions return 409 idempotency_request_in_progress and do not expire automatically. A receipt persistence failure returns 503 idempotency_persistence_failed: retry only with the same key and inspect the operation outcome before starting a new request.

Request body

descriptionstring required

The current voice description.

directionstring

A direction such as "Older" or "A little grumpy". Omit it to only get directions for this description.

Response

The rewritten description

Changes

No recorded changes to this operation across all 1 revision of this API.