Voices

Create a voice

Builds a reusable voice profile from 2 to 50 writing samples by the same person (at least 1,200 words in total). Variety helps more than volume: vary topics and formats. The cap is 50 because past that a profile tends to fit what you wrote about rather than how you write. Returns 202 with the voice in status processing and its job id in the X-Job-Id header; it usually becomes ready in a minute or two, longer when the GPU is starting (voice.ready webhook, or GET /voices/{voice_id}). Raw samples are deleted once the profile is built; the style card keeps a few short example sentences.

POST

Billing. Not billed. 3 voices on Basic API, 15 on Pro API, unlimited on Ultra API. Credits & pricing

Body

application/json
namestringrequired

Label shown in the dashboard, up to 120 characters.

samplesstring[]required

2 to 50 pieces by the same writer, at least 1,200 and at most 25,000 words in total. Up to 50 samples; past that, a profile tends to fit what you wrote about rather than how you write. Vary topics and formats rather than adding more of the same.

platformsstring[]

Where these samples were published. Stored as a label on the voice.

Response

Voice object (202, status processing)
idstring

Voice id, voice_…

object"voice"

Always "voice".

namestring

Your label.

createdinteger

Created, Unix seconds.

statusenum

processing right after creation; ready when it can be used as voice_id or calibrate_to; failed with error.

Available options:processingreadyfailed
samplesinteger

Number of samples it was built from (2 to 50).

wordsinteger

Total words in the samples.

platformsenum[]

Where the samples were published, as you passed them.

traitsobject | null

Measured habits. Null while processing.

baselineobject | null

How Detect scores this writer's own samples. Null while processing.

style_cardobject | null

Style summary used to steer rewrites. Null while processing.

errorstring (optional)

Why building the profile failed (status failed only).

Errors