hypercli-cli 0.9.0__tar.gz → 0.9.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/PKG-INFO +1 -1
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/voice.py +18 -6
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/pyproject.toml +1 -1
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/.gitignore +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/README.md +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/__init__.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/agents.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/billing.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/claw.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/cli.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/comfyui.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/flow.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/instances.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/jobs.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/keys.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/onboard.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/output.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/renders.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/tui/__init__.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/tui/job_monitor.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/user.py +0 -0
- {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/wallet.py +0 -0
|
@@ -76,7 +76,8 @@ def tts(
|
|
|
76
76
|
text: str = typer.Argument(..., help="Text to synthesize"),
|
|
77
77
|
voice: str = typer.Option("Chelsie", "--voice", "-v", help="Voice name (CustomVoice preset)"),
|
|
78
78
|
language: str = typer.Option("auto", "--language", "-l", help="Language: auto, english, chinese, etc."),
|
|
79
|
-
|
|
79
|
+
format: str = typer.Option("mp3", "--format", "-f", help="Output format: wav, mp3, opus, ogg, flac"),
|
|
80
|
+
output: Path = typer.Option(None, "--output", "-o", help="Output audio file (default: output.<format>)"),
|
|
80
81
|
key: str = typer.Option(None, "--key", "-k", help="API key (sk-...)"),
|
|
81
82
|
dev: bool = typer.Option(False, "--dev", help="Use dev API"),
|
|
82
83
|
):
|
|
@@ -84,13 +85,16 @@ def tts(
|
|
|
84
85
|
|
|
85
86
|
Examples:
|
|
86
87
|
hyper claw voice tts "Hello world"
|
|
87
|
-
hyper claw voice tts "Bonjour" -v Etienne -l french -o hello.
|
|
88
|
+
hyper claw voice tts "Bonjour" -v Etienne -l french -f opus -o hello.opus
|
|
88
89
|
"""
|
|
89
90
|
api_key = _get_api_key(key)
|
|
91
|
+
if output is None:
|
|
92
|
+
output = Path(f"output.{format}")
|
|
90
93
|
payload = {
|
|
91
94
|
"text": text,
|
|
92
95
|
"voice": voice,
|
|
93
96
|
"language": language,
|
|
97
|
+
"response_format": format,
|
|
94
98
|
}
|
|
95
99
|
_post_voice("tts", payload, api_key, output, dev)
|
|
96
100
|
|
|
@@ -101,7 +105,8 @@ def clone(
|
|
|
101
105
|
ref_audio: Path = typer.Option(..., "--ref", "-r", help="Reference audio file (wav/mp3/ogg)"),
|
|
102
106
|
language: str = typer.Option("auto", "--language", "-l", help="Language: auto, english, chinese, etc."),
|
|
103
107
|
x_vector_only: bool = typer.Option(True, "--x-vector-only/--full-clone", help="Use x_vector_only mode (recommended)"),
|
|
104
|
-
|
|
108
|
+
format: str = typer.Option("mp3", "--format", "-f", help="Output format: wav, mp3, opus, ogg, flac"),
|
|
109
|
+
output: Path = typer.Option(None, "--output", "-o", help="Output audio file (default: output.<format>)"),
|
|
105
110
|
key: str = typer.Option(None, "--key", "-k", help="API key (sk-...)"),
|
|
106
111
|
dev: bool = typer.Option(False, "--dev", help="Use dev API"),
|
|
107
112
|
):
|
|
@@ -109,9 +114,11 @@ def clone(
|
|
|
109
114
|
|
|
110
115
|
Examples:
|
|
111
116
|
hyper claw voice clone "Hello" --ref voice.wav
|
|
112
|
-
hyper claw voice clone "Test" -r ref.wav -l english -o cloned.
|
|
117
|
+
hyper claw voice clone "Test" -r ref.wav -l english -f mp3 -o cloned.mp3
|
|
113
118
|
"""
|
|
114
119
|
api_key = _get_api_key(key)
|
|
120
|
+
if output is None:
|
|
121
|
+
output = Path(f"output.{format}")
|
|
115
122
|
|
|
116
123
|
if not ref_audio.exists():
|
|
117
124
|
console.print(f"[red]❌ Reference audio not found: {ref_audio}[/red]")
|
|
@@ -127,6 +134,7 @@ def clone(
|
|
|
127
134
|
"ref_audio_base64": ref_b64,
|
|
128
135
|
"language": language,
|
|
129
136
|
"x_vector_only": x_vector_only,
|
|
137
|
+
"response_format": format,
|
|
130
138
|
}
|
|
131
139
|
_post_voice("clone", payload, api_key, output, dev)
|
|
132
140
|
|
|
@@ -136,7 +144,8 @@ def design(
|
|
|
136
144
|
text: str = typer.Argument(..., help="Text to synthesize"),
|
|
137
145
|
description: str = typer.Option(..., "--desc", "-d", help="Voice description (e.g. 'young female, warm, American accent')"),
|
|
138
146
|
language: str = typer.Option("auto", "--language", "-l", help="Language: auto, english, chinese, etc."),
|
|
139
|
-
|
|
147
|
+
format: str = typer.Option("mp3", "--format", "-f", help="Output format: wav, mp3, opus, ogg, flac"),
|
|
148
|
+
output: Path = typer.Option(None, "--output", "-o", help="Output audio file (default: output.<format>)"),
|
|
140
149
|
key: str = typer.Option(None, "--key", "-k", help="API key (sk-...)"),
|
|
141
150
|
dev: bool = typer.Option(False, "--dev", help="Use dev API"),
|
|
142
151
|
):
|
|
@@ -144,12 +153,15 @@ def design(
|
|
|
144
153
|
|
|
145
154
|
Examples:
|
|
146
155
|
hyper claw voice design "Hello" --desc "deep male voice, British accent"
|
|
147
|
-
hyper claw voice design "Test" -d "young woman, cheerful" -o designed.
|
|
156
|
+
hyper claw voice design "Test" -d "young woman, cheerful" -f mp3 -o designed.mp3
|
|
148
157
|
"""
|
|
149
158
|
api_key = _get_api_key(key)
|
|
159
|
+
if output is None:
|
|
160
|
+
output = Path(f"output.{format}")
|
|
150
161
|
payload = {
|
|
151
162
|
"text": text,
|
|
152
163
|
"instruct": description,
|
|
153
164
|
"language": language,
|
|
165
|
+
"response_format": format,
|
|
154
166
|
}
|
|
155
167
|
_post_voice("design", payload, api_key, output, dev)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|