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.
Files changed (22) hide show
  1. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/PKG-INFO +1 -1
  2. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/voice.py +18 -6
  3. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/pyproject.toml +1 -1
  4. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/.gitignore +0 -0
  5. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/README.md +0 -0
  6. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/__init__.py +0 -0
  7. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/agents.py +0 -0
  8. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/billing.py +0 -0
  9. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/claw.py +0 -0
  10. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/cli.py +0 -0
  11. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/comfyui.py +0 -0
  12. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/flow.py +0 -0
  13. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/instances.py +0 -0
  14. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/jobs.py +0 -0
  15. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/keys.py +0 -0
  16. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/onboard.py +0 -0
  17. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/output.py +0 -0
  18. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/renders.py +0 -0
  19. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/tui/__init__.py +0 -0
  20. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/tui/job_monitor.py +0 -0
  21. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/user.py +0 -0
  22. {hypercli_cli-0.9.0 → hypercli_cli-0.9.1}/hypercli_cli/wallet.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hypercli-cli
3
- Version: 0.9.0
3
+ Version: 0.9.1
4
4
  Summary: CLI for HyperCLI - GPU orchestration and LLM API
5
5
  Project-URL: Homepage, https://hypercli.com
6
6
  Project-URL: Documentation, https://docs.hypercli.com
@@ -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
- output: Path = typer.Option("output.wav", "--output", "-o", help="Output audio file"),
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.wav
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
- output: Path = typer.Option("output.wav", "--output", "-o", help="Output audio file"),
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.wav
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
- output: Path = typer.Option("output.wav", "--output", "-o", help="Output audio file"),
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.wav
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)
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "hypercli-cli"
7
- version = "0.9.0"
7
+ version = "0.9.1"
8
8
  description = "CLI for HyperCLI - GPU orchestration and LLM API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
File without changes
File without changes