Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api-reference/sdk/python/types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@

**Attributes**:

- `id` - Unique voice model identifier (use as reference_id in TTS)

Check warning on line 54 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L54

Did you really mean 'reference_id'?
- `type` - Model type. Options: "svc" (singing voice conversion), "tts" (text-to-speech)

Check warning on line 55 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L55

Did you really mean 'svc'?

Check warning on line 55 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L55

Did you really mean 'tts'?
- `title` - Voice model title/name
- `description` - Detailed description of the voice model
- `cover_image` - URL to the voice model's cover image
Expand All @@ -62,8 +62,8 @@
- `samples` - List of audio samples demonstrating the voice
- `created_at` - Timestamp when the model was created
- `updated_at` - Timestamp when the model was last updated
- `languages` - List of supported language codes (e.g., ["en", "zh"])

Check warning on line 65 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L65

Did you really mean 'zh'?
- `visibility` - Model visibility. Options: "public", "private", "unlisted"
- `visibility` - Model visibility. Options: "public", "private", "unlist"

Check warning on line 66 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L66

Did you really mean 'unlist'?
- `lock_visibility` - Whether visibility setting is locked
- `like_count` - Number of likes the model has received
- `mark_count` - Number of bookmarks/favorites
Expand Down Expand Up @@ -150,10 +150,10 @@

**Attributes**:

- `format` - Audio output format. Options: "mp3", "wav", "pcm", "opus". Default: "mp3"

Check warning on line 153 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L153

Did you really mean 'wav'?

Check warning on line 153 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L153

Did you really mean 'pcm'?
- `sample_rate` - Audio sample rate in Hz. If None, uses format-specific default.
- `mp3_bitrate` - MP3 bitrate in kbps. Options: 64, 128, 192. Default: 128

Check warning on line 155 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L155

Did you really mean 'bitrate'?

Check warning on line 155 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L155

Did you really mean 'kbps'?
- `opus_bitrate` - Opus bitrate in kbps. Options: -1000, 24, 32, 48, 64. Default: 32

Check warning on line 156 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L156

Did you really mean 'bitrate'?

Check warning on line 156 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L156

Did you really mean 'kbps'?
- `normalize` - Whether to normalize/clean the input text. Default: True
- `chunk_length` - Characters per generation chunk. Range: 100-300. Default: 200.
Lower values = faster initial response, higher values = better quality
Expand Down Expand Up @@ -188,10 +188,10 @@

- `text` - Text to synthesize into speech
- `chunk_length` - Characters per generation chunk. Range: 100-300. Default: 200
- `format` - Audio output format. Options: "mp3", "wav", "pcm", "opus". Default: "mp3"

Check warning on line 191 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L191

Did you really mean 'wav'?

Check warning on line 191 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L191

Did you really mean 'pcm'?
- `sample_rate` - Audio sample rate in Hz. If None, uses format-specific default
- `mp3_bitrate` - MP3 bitrate in kbps. Options: 64, 128, 192. Default: 128

Check warning on line 193 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L193

Did you really mean 'bitrate'?

Check warning on line 193 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L193

Did you really mean 'kbps'?
- `opus_bitrate` - Opus bitrate in kbps. Options: -1000, 24, 32, 48, 64. Default: 32

Check warning on line 194 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L194

Did you really mean 'bitrate'?

Check warning on line 194 in api-reference/sdk/python/types.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

api-reference/sdk/python/types.mdx#L194

Did you really mean 'kbps'?
- `references` - List of reference audio samples for voice cloning. Default: []
- `reference_id` - Voice model ID for using a specific voice. Default: None
- `normalize` - Whether to normalize/clean the input text. Default: True
Expand Down