Skip to content

Docs

try_voice_profile

Rewrite a short sample text in the workspace's voice profile, to check the profile sounds right before relying on it. Saves nothing. Needs a voice profile (build_voice_profile). Costs 1 credit.

Rewrite a short sample text in the workspace's voice profile, to check the profile sounds right before relying on it. Saves nothing. Needs a voice profile (build_voice_profile). Costs 1 credit.

Uses heyeveryone AI and costs 1 credits (1 credit per try). Tell the person before calling it.

Access and cost

  • Kind: mutation
  • Scope: workspace
  • Actors: member, agent
  • Credits: 1 credit per try.
  • Requires confirmation: false
  • Accepts idempotency key: true

Input schema

{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "text": {
      "maxLength": 2000,
      "minLength": 1,
      "type": "string"
    },
    "idempotencyKey": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "workspaceId",
    "text"
  ],
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "text": {
      "type": "string"
    },
    "creditsSpent": {
      "type": "integer"
    }
  },
  "required": [
    "text",
    "creditsSpent"
  ],
  "type": "object"
}

Errors

[
  "no_voice_profile",
  "ai_generation_failed",
  "insufficient_credits",
  "idempotency_conflict"
]

Annotations

{
  "destructiveHint": false,
  "idempotentHint": false,
  "openWorldHint": false,
  "readOnlyHint": false,
  "title": "Try the voice on a sample"
}