everypixel-cli 0.6.0__tar.gz → 0.6.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 (25) hide show
  1. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/CHANGELOG.md +5 -0
  2. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/PKG-INFO +16 -5
  3. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/README.md +15 -4
  4. everypixel_cli-0.6.1/src/everypixel_cli/__init__.py +1 -0
  5. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/application/services.py +18 -0
  6. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/cli.py +6 -1
  7. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/mcp_server.py +2 -2
  8. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/resources/openapi.json +91 -6
  9. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/schemas.py +50 -5
  10. everypixel_cli-0.6.0/src/everypixel_cli/__init__.py +0 -1
  11. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/.gitignore +0 -0
  12. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/LICENSE +0 -0
  13. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/pyproject.toml +0 -0
  14. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/__main__.py +0 -0
  15. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/application/__init__.py +0 -0
  16. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/application/chat.py +0 -0
  17. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/application/models.py +0 -0
  18. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/application/serialization.py +0 -0
  19. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/client.py +0 -0
  20. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/config.py +0 -0
  21. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/errors.py +0 -0
  22. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/files.py +0 -0
  23. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/openapi.py +0 -0
  24. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/output.py +0 -0
  25. {everypixel_cli-0.6.0 → everypixel_cli-0.6.1}/src/everypixel_cli/resources/__init__.py +0 -0
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.1] - 2026-11-18
4
+
5
+ - Add Gemini Omni 1.2 Flash video generation and editing.
6
+ - Add HeyGen Avatar 6 and Turbo photo animation with audio and 2K output.
7
+
3
8
  ## [0.6.0] - 2026-11-16
4
9
 
5
10
  - Add GPT Image 2.6 Sunburst with format, compression, and animation controls.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: everypixel-cli
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: Official command line interface for Everypixel API
5
5
  Project-URL: Homepage, https://labs.everypixel.com
6
6
  Project-URL: Repository, https://github.com/everypixel/everypixel-cli
@@ -249,16 +249,16 @@ everypixel video edit "continue the scene with a slow camera pan" \
249
249
  --model flux3 --video ./input.mp4 --download ./outputs
250
250
  ```
251
251
 
252
- Generate a video with Gemini Omni 1.1 Flash, then edit the completed task:
252
+ Generate a video with Gemini Omni 1.2 Flash, then edit the completed task:
253
253
 
254
254
  ```bash
255
255
  task_id="$(
256
256
  everypixel video generate "a slow aerial shot over mountain lakes" \
257
- --model gemini-omni-1.1-flash --output-json | jq -er '.task_id'
257
+ --model gemini-omni-1.2-flash --output-json | jq -er '.task_id'
258
258
  )"
259
259
 
260
260
  everypixel video edit "change the scene to sunset" \
261
- --model gemini-omni-1.1-flash --task-id "$task_id" --download ./outputs
261
+ --model gemini-omni-1.2-flash --task-id "$task_id" --download ./outputs
262
262
  ```
263
263
 
264
264
  Gemini Omni editing requires an owned Gemini Omni source task. Other editing
@@ -332,16 +332,27 @@ everypixel audio tts-create --model qwen3 --text "Hello world" \
332
332
  HeyGen video lipsync accepts `--model heygen-speed|heygen-precision` with
333
333
  `--video` and `--audio`. Audio and video durations must differ by at most 15%.
334
334
  HeyGen Avatar 4 uses `lipsync image --model heygen-avatar-4` with either
335
- `--audio` or `--text` plus `--voice-id`. Avatar-only options are
335
+ `--audio` or `--text` plus `--voice-id`. Avatar 4 options are
336
336
  `--aspect-ratio`, `--expressiveness low|medium|high`, and `--resolution 720p|1080p`
337
337
  (default: `1080p`); `--prompt` directs motion. Avatar 4 does not accept `--seed`.
338
338
 
339
+ HeyGen Avatar 6 (`heygen-avatar-6`, `heygen-avatar-6-turbo`) requires `--image`
340
+ and `--audio`. It accepts
341
+ `--resolution 1080p|2k` (default: `1080p`), preserves the photo's aspect ratio,
342
+ and supports `--expressiveness default|less` plus a motion `--prompt`
343
+ (up to 1200 characters). Text, voice ID, aspect ratio, and seed options belong
344
+ to other models.
345
+
339
346
  ```bash
340
347
  everypixel lipsync heygen-voices --language English --limit 20
341
348
 
342
349
  everypixel lipsync image --model heygen-avatar-4 --image ./portrait.png \
343
350
  --text "Hello!" --voice-id VOICE_ID --download ./outputs
344
351
 
352
+ everypixel lipsync image --model heygen-avatar-6 --image ./portrait.png \
353
+ --audio ./voice.mp3 --resolution 2k --expressiveness less \
354
+ --download ./outputs
355
+
345
356
  everypixel video translation-languages
346
357
 
347
358
  everypixel video translate --video ./input.mp4 --output-language Spanish \
@@ -215,16 +215,16 @@ everypixel video edit "continue the scene with a slow camera pan" \
215
215
  --model flux3 --video ./input.mp4 --download ./outputs
216
216
  ```
217
217
 
218
- Generate a video with Gemini Omni 1.1 Flash, then edit the completed task:
218
+ Generate a video with Gemini Omni 1.2 Flash, then edit the completed task:
219
219
 
220
220
  ```bash
221
221
  task_id="$(
222
222
  everypixel video generate "a slow aerial shot over mountain lakes" \
223
- --model gemini-omni-1.1-flash --output-json | jq -er '.task_id'
223
+ --model gemini-omni-1.2-flash --output-json | jq -er '.task_id'
224
224
  )"
225
225
 
226
226
  everypixel video edit "change the scene to sunset" \
227
- --model gemini-omni-1.1-flash --task-id "$task_id" --download ./outputs
227
+ --model gemini-omni-1.2-flash --task-id "$task_id" --download ./outputs
228
228
  ```
229
229
 
230
230
  Gemini Omni editing requires an owned Gemini Omni source task. Other editing
@@ -298,16 +298,27 @@ everypixel audio tts-create --model qwen3 --text "Hello world" \
298
298
  HeyGen video lipsync accepts `--model heygen-speed|heygen-precision` with
299
299
  `--video` and `--audio`. Audio and video durations must differ by at most 15%.
300
300
  HeyGen Avatar 4 uses `lipsync image --model heygen-avatar-4` with either
301
- `--audio` or `--text` plus `--voice-id`. Avatar-only options are
301
+ `--audio` or `--text` plus `--voice-id`. Avatar 4 options are
302
302
  `--aspect-ratio`, `--expressiveness low|medium|high`, and `--resolution 720p|1080p`
303
303
  (default: `1080p`); `--prompt` directs motion. Avatar 4 does not accept `--seed`.
304
304
 
305
+ HeyGen Avatar 6 (`heygen-avatar-6`, `heygen-avatar-6-turbo`) requires `--image`
306
+ and `--audio`. It accepts
307
+ `--resolution 1080p|2k` (default: `1080p`), preserves the photo's aspect ratio,
308
+ and supports `--expressiveness default|less` plus a motion `--prompt`
309
+ (up to 1200 characters). Text, voice ID, aspect ratio, and seed options belong
310
+ to other models.
311
+
305
312
  ```bash
306
313
  everypixel lipsync heygen-voices --language English --limit 20
307
314
 
308
315
  everypixel lipsync image --model heygen-avatar-4 --image ./portrait.png \
309
316
  --text "Hello!" --voice-id VOICE_ID --download ./outputs
310
317
 
318
+ everypixel lipsync image --model heygen-avatar-6 --image ./portrait.png \
319
+ --audio ./voice.mp3 --resolution 2k --expressiveness less \
320
+ --download ./outputs
321
+
311
322
  everypixel video translation-languages
312
323
 
313
324
  everypixel video translate --video ./input.mp4 --output-language Spanish \
@@ -0,0 +1 @@
1
+ __version__ = "0.6.1"
@@ -43,6 +43,7 @@ from ..schemas import (
43
43
  TTSVoicesPayload,
44
44
  TTSVoiceDeletePayload,
45
45
  HeyGenImageLipsyncPayload,
46
+ HeyGenAvatar6Payload,
46
47
  HeyGenVoicesPayload,
47
48
  VideoTranslatePayload,
48
49
  RecraftVectorModel,
@@ -660,6 +661,7 @@ def _build_omni_video_edit_payload(inputs: _VideoEditInputs) -> dict[str, Any]:
660
661
 
661
662
  _VIDEO_EDIT_BUILDERS: dict[str, Callable[[_VideoEditInputs], dict[str, Any]]] = {
662
663
  "gemini-omni-1.1-flash": _build_omni_video_edit_payload,
664
+ "gemini-omni-1.2-flash": _build_omni_video_edit_payload,
663
665
  "seedance2": _build_seedance_video_edit_payload,
664
666
  "seedance2-mini": _build_seedance_video_edit_payload,
665
667
  "seedance2.5": _build_seedance_video_edit_payload,
@@ -896,6 +898,14 @@ _LIPSYNC_IMAGE_BUILDERS: dict[str, type[BaseModel]] = {
896
898
  "inftalk": LipsyncImagePayload,
897
899
  "ltx23": LipsyncImagePayload,
898
900
  "heygen-avatar-4": HeyGenImageLipsyncPayload,
901
+ "heygen-avatar-6": HeyGenAvatar6Payload,
902
+ "heygen-avatar-6-turbo": HeyGenAvatar6Payload,
903
+ }
904
+
905
+
906
+ _LIPSYNC_EXPRESSIVENESS_FIELDS = {
907
+ "heygen-avatar-6": "motion_expressiveness",
908
+ "heygen-avatar-6-turbo": "motion_expressiveness",
899
909
  }
900
910
 
901
911
 
@@ -904,6 +914,14 @@ def build_lipsync_image_payload(**values: Any) -> dict[str, Any]:
904
914
 
905
915
  image = values.pop("image")
906
916
  audio = values.pop("audio")
917
+ expressiveness = values.pop("expressiveness", None)
918
+ if expressiveness is not None:
919
+ field = _LIPSYNC_EXPRESSIVENESS_FIELDS.get(
920
+ values.get("model", "inftalk"), "expressiveness"
921
+ )
922
+ if values.get(field) is not None:
923
+ raise ValidationCLIError("Expressiveness was provided twice")
924
+ values[field] = expressiveness
907
925
  builder = _LIPSYNC_IMAGE_BUILDERS.get(
908
926
  values.get("model", "inftalk"), LipsyncImagePayload
909
927
  )
@@ -1321,7 +1321,12 @@ def lipsync_image(
1321
1321
  text: Optional[str] = None,
1322
1322
  voice_id: Optional[str] = None,
1323
1323
  aspect_ratio: Optional[str] = None,
1324
- expressiveness: Optional[str] = None,
1324
+ expressiveness: Annotated[
1325
+ Optional[str],
1326
+ typer.Option(
1327
+ help="Avatar 4: low, medium, high; Avatar 6/Turbo: default, less."
1328
+ ),
1329
+ ] = None,
1325
1330
  prompt: Optional[str] = None,
1326
1331
  seed: Optional[int] = None,
1327
1332
  callback_url: Annotated[Optional[str], typer.Option("--callback-url")] = None,
@@ -298,11 +298,11 @@ class LipsyncImageInput(MCPToolInput):
298
298
  image: str
299
299
  audio: str | None = None
300
300
  model: LipsyncImageModel = "inftalk"
301
- resolution: Literal[LipsyncImageResolution, "1080p"] | None = None
301
+ resolution: Literal[LipsyncImageResolution, "1080p", "2k"] | None = None
302
302
  text: str | None = None
303
303
  voice_id: str | None = None
304
304
  aspect_ratio: str | None = None
305
- expressiveness: Literal["low", "medium", "high"] | None = None
305
+ expressiveness: Literal["low", "medium", "high", "default", "less"] | None = None
306
306
  prompt: str | None = None
307
307
  seed: int | None = None
308
308
  callback_url: str | None = None
@@ -2413,6 +2413,80 @@
2413
2413
  "title": "HealthReport",
2414
2414
  "type": "object"
2415
2415
  },
2416
+ "HeyGenAvatar6Request": {
2417
+ "additionalProperties": false,
2418
+ "description": "Animate a photo with supplied speech through HeyGen's Model API.",
2419
+ "properties": {
2420
+ "audio_url": {
2421
+ "title": "Audio Url",
2422
+ "type": "string"
2423
+ },
2424
+ "callback_url": {
2425
+ "anyOf": [
2426
+ {
2427
+ "format": "uri",
2428
+ "maxLength": 2083,
2429
+ "minLength": 1,
2430
+ "type": "string"
2431
+ },
2432
+ {
2433
+ "type": "null"
2434
+ }
2435
+ ],
2436
+ "title": "Callback Url"
2437
+ },
2438
+ "image_url": {
2439
+ "title": "Image Url",
2440
+ "type": "string"
2441
+ },
2442
+ "model": {
2443
+ "enum": [
2444
+ "heygen-avatar-6",
2445
+ "heygen-avatar-6-turbo"
2446
+ ],
2447
+ "title": "Model",
2448
+ "type": "string"
2449
+ },
2450
+ "motion_expressiveness": {
2451
+ "default": "default",
2452
+ "enum": [
2453
+ "default",
2454
+ "less"
2455
+ ],
2456
+ "title": "Motion Expressiveness",
2457
+ "type": "string"
2458
+ },
2459
+ "prompt": {
2460
+ "anyOf": [
2461
+ {
2462
+ "maxLength": 1200,
2463
+ "minLength": 1,
2464
+ "type": "string"
2465
+ },
2466
+ {
2467
+ "type": "null"
2468
+ }
2469
+ ],
2470
+ "title": "Prompt"
2471
+ },
2472
+ "resolution": {
2473
+ "default": "1080p",
2474
+ "enum": [
2475
+ "1080p",
2476
+ "2k"
2477
+ ],
2478
+ "title": "Resolution",
2479
+ "type": "string"
2480
+ }
2481
+ },
2482
+ "required": [
2483
+ "model",
2484
+ "image_url",
2485
+ "audio_url"
2486
+ ],
2487
+ "title": "HeyGenAvatar6Request",
2488
+ "type": "object"
2489
+ },
2416
2490
  "HeyGenImageLipsyncRequest": {
2417
2491
  "additionalProperties": false,
2418
2492
  "properties": {
@@ -3834,8 +3908,11 @@
3834
3908
  "title": "Callback Url"
3835
3909
  },
3836
3910
  "model": {
3837
- "const": "gemini-omni-1.1-flash",
3838
- "default": "gemini-omni-1.1-flash",
3911
+ "default": "gemini-omni-1.2-flash",
3912
+ "enum": [
3913
+ "gemini-omni-1.1-flash",
3914
+ "gemini-omni-1.2-flash"
3915
+ ],
3839
3916
  "title": "Model",
3840
3917
  "type": "string"
3841
3918
  },
@@ -3885,7 +3962,7 @@
3885
3962
  },
3886
3963
  "duration": {
3887
3964
  "default": 8,
3888
- "maximum": 10.0,
3965
+ "maximum": 15.0,
3889
3966
  "minimum": 3.0,
3890
3967
  "title": "Duration",
3891
3968
  "type": "integer"
@@ -3913,8 +3990,11 @@
3913
3990
  "title": "Image Url"
3914
3991
  },
3915
3992
  "model": {
3916
- "const": "gemini-omni-1.1-flash",
3917
- "default": "gemini-omni-1.1-flash",
3993
+ "default": "gemini-omni-1.2-flash",
3994
+ "enum": [
3995
+ "gemini-omni-1.1-flash",
3996
+ "gemini-omni-1.2-flash"
3997
+ ],
3918
3998
  "title": "Model",
3919
3999
  "type": "string"
3920
4000
  },
@@ -3927,7 +4007,7 @@
3927
4007
  "items": {
3928
4008
  "type": "string"
3929
4009
  },
3930
- "maxItems": 3,
4010
+ "maxItems": 6,
3931
4011
  "title": "Reference Image Urls",
3932
4012
  "type": "array"
3933
4013
  },
@@ -7163,6 +7243,9 @@
7163
7243
  },
7164
7244
  {
7165
7245
  "$ref": "#/components/schemas/HeyGenImageLipsyncRequest"
7246
+ },
7247
+ {
7248
+ "$ref": "#/components/schemas/HeyGenAvatar6Request"
7166
7249
  }
7167
7250
  ],
7168
7251
  "title": "Data"
@@ -8587,6 +8670,7 @@
8587
8670
  "aleph2": "#/components/schemas/Aleph2VideoEditRequest",
8588
8671
  "flux3": "#/components/schemas/Flux3VideoEditRequest",
8589
8672
  "gemini-omni-1.1-flash": "#/components/schemas/OmniVideoEditRequest",
8673
+ "gemini-omni-1.2-flash": "#/components/schemas/OmniVideoEditRequest",
8590
8674
  "kling-3-omni": "#/components/schemas/KlingV3OmniVideoEditRequest",
8591
8675
  "seedance2": "#/components/schemas/Seedance2VideoEditRequest",
8592
8676
  "seedance2-mini": "#/components/schemas/Seedance2VideoEditRequest",
@@ -8682,6 +8766,7 @@
8682
8766
  "mapping": {
8683
8767
  "flux3": "#/components/schemas/Flux3VideoGenRequest",
8684
8768
  "gemini-omni-1.1-flash": "#/components/schemas/OmniVideoGenRequest",
8769
+ "gemini-omni-1.2-flash": "#/components/schemas/OmniVideoGenRequest",
8685
8770
  "grok-imagine": "#/components/schemas/GrokVideoGenRequest",
8686
8771
  "grok-imagine-1.5": "#/components/schemas/Grok15VideoGenRequest",
8687
8772
  "kling-2.6": "#/components/schemas/KlingV26VideoGenRequest",
@@ -621,6 +621,7 @@ VideoGenerateModel = Literal[
621
621
  "grok-imagine-1.5",
622
622
  "flux3",
623
623
  "gemini-omni-1.1-flash",
624
+ "gemini-omni-1.2-flash",
624
625
  "seedance2",
625
626
  "seedance2-mini",
626
627
  "seedance2.5",
@@ -633,6 +634,7 @@ VideoGenerateModel = Literal[
633
634
  ]
634
635
  VideoEditModel = Literal[
635
636
  "gemini-omni-1.1-flash",
637
+ "gemini-omni-1.2-flash",
636
638
  "seedance2",
637
639
  "seedance2-mini",
638
640
  "seedance2.5",
@@ -748,17 +750,31 @@ class Grok15VideoGenRequest(_StrictVideoPayload):
748
750
 
749
751
  class OmniVideoGenRequest(_StrictVideoPayload):
750
752
  prompt: str = Field(min_length=1)
751
- model: Literal["gemini-omni-1.1-flash"] = "gemini-omni-1.1-flash"
752
- duration: int = Field(default=8, ge=3, le=10)
753
+ model: Literal["gemini-omni-1.1-flash", "gemini-omni-1.2-flash"] = (
754
+ "gemini-omni-1.2-flash"
755
+ )
756
+ duration: int = Field(default=8, ge=3, le=15)
753
757
  resolution: OmniVideoResolution = "720p"
754
758
  aspect_ratio: OmniVideoAspectRatio = "16:9"
755
759
  image_url: str | None = None
756
760
  image_last_url: str | None = None
757
- reference_image_urls: list[str] = Field(default_factory=list, max_length=3)
761
+ reference_image_urls: list[str] = Field(default_factory=list, max_length=6)
758
762
  callback_url: HttpUrl | None = None
759
763
 
760
764
  @model_validator(mode="after")
761
765
  def validate_frames(self) -> "OmniVideoGenRequest":
766
+ max_duration = (
767
+ 10 if self.model == "gemini-omni-1.1-flash" or self.image_last_url else 15
768
+ )
769
+ max_references = 3 if self.model == "gemini-omni-1.1-flash" else 6
770
+ if self.duration > max_duration:
771
+ raise ValueError(
772
+ f"This Omni generation mode supports at most {max_duration} seconds"
773
+ )
774
+ if len(self.reference_image_urls) > max_references:
775
+ raise ValueError(
776
+ f"This Omni model supports at most {max_references} reference images"
777
+ )
762
778
  for value in (self.image_url, self.image_last_url):
763
779
  if value is not None and not value.startswith(
764
780
  ("http://", "https://", "data:image/")
@@ -1078,7 +1094,9 @@ class VideoEditSourcePayload(_StrictVideoPayload):
1078
1094
 
1079
1095
  class OmniVideoEditPayload(_StrictVideoPayload):
1080
1096
  prompt: str = Field(min_length=1)
1081
- model: Literal["gemini-omni-1.1-flash"] = "gemini-omni-1.1-flash"
1097
+ model: Literal["gemini-omni-1.1-flash", "gemini-omni-1.2-flash"] = (
1098
+ "gemini-omni-1.2-flash"
1099
+ )
1082
1100
  video_from_task_id: UUID
1083
1101
  resolution: OmniVideoResolution = "720p"
1084
1102
  callback_url: HttpUrl | None = None
@@ -1338,7 +1356,9 @@ class ImageUpscalePayload(BaseModel):
1338
1356
  VideoUpscaleResolution = Literal["720p", "1080p", "1440p", "4k"]
1339
1357
  VideoUpscaleModel = Literal["seedvr2", "topaz-prob-4", "topaz-slp-2.5", "topaz-ast-2"]
1340
1358
  LipsyncVideoResolution = Literal["360p", "480p", "720p"]
1341
- LipsyncImageModel = Literal["inftalk", "ltx23", "heygen-avatar-4"]
1359
+ LipsyncImageModel = Literal[
1360
+ "inftalk", "ltx23", "heygen-avatar-4", "heygen-avatar-6", "heygen-avatar-6-turbo"
1361
+ ]
1342
1362
  LipsyncVideoModel = Literal["inftalk", "heygen-speed", "heygen-precision"]
1343
1363
  LipsyncImageResolution = Literal["360p", "480p", "720p"]
1344
1364
 
@@ -1426,6 +1446,31 @@ class HeyGenImageLipsyncPayload(BaseModel):
1426
1446
  return self
1427
1447
 
1428
1448
 
1449
+ class HeyGenAvatar6Payload(BaseModel):
1450
+ """Avatar 6 animates a photo using supplied audio and motion controls."""
1451
+
1452
+ model_config = ConfigDict(extra="forbid")
1453
+
1454
+ model: Literal["heygen-avatar-6", "heygen-avatar-6-turbo"]
1455
+ image_url: str
1456
+ audio_url: str
1457
+ resolution: Literal["1080p", "2k"] = "1080p"
1458
+ prompt: str | None = Field(default=None, min_length=1, max_length=1200)
1459
+ motion_expressiveness: Literal["default", "less"] = "default"
1460
+ callback_url: HttpUrl | None = None
1461
+
1462
+ @field_validator("image_url")
1463
+ @classmethod
1464
+ def validate_image(cls, value: str) -> str:
1465
+ validate_frame_inputs(value, None)
1466
+ return value
1467
+
1468
+ @field_validator("audio_url")
1469
+ @classmethod
1470
+ def validate_audio(cls, value: str) -> str:
1471
+ return validate_tts_media(value)
1472
+
1473
+
1429
1474
  class VideoTranslatePayload(BaseModel):
1430
1475
  model_config = ConfigDict(extra="forbid")
1431
1476
 
@@ -1 +0,0 @@
1
- __version__ = "0.6.0"
File without changes