# Create Voice Fingerprint
Purpose: API operation reference for `POST /v1/audio/voices/fingerprint`.
Last updated: 2026-10-14

## Endpoint

```txt
POST /v1/audio/voices/fingerprint
```

## Description

Upload one clip of a single speaker as multipart form data with the model field. The fingerprint comes back as an embedding vector.

Extract a model-specific voice fingerprint from an uploaded audio segment.

## Request body

Content type: `multipart/form-data`

| Field | Required | Type | Description |
| --- | --- | --- | --- |
| `model` | Yes | `string` | model name to route to (may be an alias; rejected if blank) |
| `file` | Yes | `string` | audio segment containing one speaker |

## Success response

Status: `200`
Content type: `application/json`

| Field | Required | Type | Description |
| --- | --- | --- | --- |
| `fingerprint` | Yes | `EmbeddingFingerprint \| VoiceConditioningFingerprint` | typed voice fingerprint produced by the model |
| `object` | No | `"audio.voice.fingerprint"` | response type discriminator |
| `model` | Yes | `string` | model id as sent in the request |
| `usage` | No | `Usage \| null` | measured input-audio usage; absent when unmeasured |

## Error responses

| Status | Description |
| --- | --- |
| `400` | The request was malformed, or a field value was invalid. |
| `401` | Missing, invalid, or expired credentials. |
| `402` | The account is out of credit, has a plan invoice still unpaid, or has billing still being set up. |
| `403` | Authenticated, but not a member of the requested organization. |
| `404` | The requested model does not exist or is not available. |
| `413` | The request body, or an inline media part, exceeds the accepted size. |
| `429` | Rate limit exceeded. |
| `500` | The model backend, or the gateway itself, failed while serving the request. |
| `502` | The model backend answered with something the gateway could not serve. |
| `503` | Temporarily unavailable; retry after `Retry-After` when present. |
| `504` | The model backend did not respond in time. |

## Related links

- [Markdown reference](https://sprag.ai/docs/api/audio/voices/fingerprint.md)
- [OpenAPI spec](https://sprag.ai/openapi.json)
- [Authentication](https://sprag.ai/docs/authentication.md)
- [Errors](https://sprag.ai/docs/errors.md)
