create_voice_clone_from_path
Create a voice clone from a local audio file by copying it to the voice-samples directory, registering the clone in the database, and returning metadata.
Instructions
Create a voice clone from an audio file on disk. Copies the source file into Windy Word's voice-samples directory under a fresh UUID, registers the clone in the local DB, and returns the new clone's metadata (with hasAudio=true). Supported audio extensions: .webm, .wav, .mp3, .ogg, .m4a, .flac. Source file must exist and be readable; the copy itself is path-confined to Windy's voice-samples dir. Use list_voice_clones afterward to see it and set_active_voice_clone to activate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for the clone (e.g. "My Voice 2026-05"). | |
| sourcePath | Yes | Path to the source audio file. | |
| durationSec | No | Audio duration in seconds (if known). Optional metadata. |