Skip to content
Merged
Show file tree
Hide file tree
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 .sdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "ed10f111-a01b-4244-a7c0-268b7e83ba90",
"id": "102269bb-de21-44c1-a841-98323dccb754",
"tracked_paths": [
{
"editable": true,
Expand Down
2 changes: 1 addition & 1 deletion magic_hour/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Environment(enum.Enum):
"""Pre-defined base URLs for the API"""

ENVIRONMENT = "https://api.magichour.ai"
MOCK_SERVER = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.81.0"
MOCK_SERVER = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.81.1"


def _get_base_url(
Expand Down
4 changes: 2 additions & 2 deletions magic_hour/resources/v1/image_to_video/README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions magic_hour/resources/v1/image_to_video/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def create(
* **`ltx-2.5`**: Supports 480p, 720p, 1080p.
* **`minimax-h3`**: Supports 480p, 720p, 1080p.
* **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* **`seedance-2.0`**: Supports 480p, 720p.
* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
* **`seedance-2.0-mini`**: Supports 480p, 720p.
* **`seedance-2.5`**: Supports 480p, 720p.
* **`sora-2`**: Supports 720p.
Expand Down Expand Up @@ -591,7 +591,7 @@ async def create(
* **`ltx-2.5`**: Supports 480p, 720p, 1080p.
* **`minimax-h3`**: Supports 480p, 720p, 1080p.
* **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* **`seedance-2.0`**: Supports 480p, 720p.
* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
* **`seedance-2.0-mini`**: Supports 480p, 720p.
* **`seedance-2.5`**: Supports 480p, 720p.
* **`sora-2`**: Supports 720p.
Expand Down
2 changes: 1 addition & 1 deletion magic_hour/resources/v1/text_to_video/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ For detailed examples, see the [product page](https://magichour.ai/products/text
| `model` | ✗ | ✗ | The AI model to use for video generation. * `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.5`. * `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output. * `kling-2.6`: Best for action, motion blur, and controlled camera moves. * `kling-3.0`: Best for cinematic stories, references, and optional audio. * `ltx-2.3`: Fastest for general scenes, long clips, audio, and rapid iteration. * `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration. * `minimax-h3`: Great for reference-driven clips with native audio and longer durations. * `seedance-1.5`: Best for smooth, consistent motion with an end frame. * `seedance-2.0`: Best for reference-led clips with precise subject control. * `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio. * `seedance-2.5`: Best for premium realism, detail, and natural motion. * `sora-2`: Best for creative concepts and longer clips with audio. * `veo3.1`: Best for romantic interactions and expressive action, with realistic detail. * `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1. * `wan-2.2`: Best for physical motion, action, and camera movement. If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`. | `"kling-3.0"` |
| `name` | ✗ | ✗ | Give your video a custom name for easy identification. | `"My Text To Video video"` |
| `orientation` | ✗ | ✓ | Deprecated. Use `aspect_ratio` instead. | `"landscape"` |
| `resolution` | ✗ | ✗ | Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers. * **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k. * **`kling-2.6`**: Supports 720p, 1080p. * **`kling-3.0`**: Supports 720p, 1080p, 4k. * **`ltx-2.3`**: Supports 480p, 720p, 1080p. * **`ltx-2.5`**: Supports 480p, 720p, 1080p. * **`minimax-h3`**: Supports 480p, 720p, 1080p. * **`seedance-1.5`**: Supports 480p, 720p, 1080p. * **`seedance-2.0`**: Supports 480p, 720p. * **`seedance-2.0-mini`**: Supports 480p, 720p. * **`seedance-2.5`**: Supports 480p, 720p. * **`sora-2`**: Supports 720p. * **`veo3.1`**: Supports 720p, 1080p. * **`veo3.1-lite`**: Supports 720p, 1080p. * **`wan-2.2`**: Supports 480p, 720p, 1080p. | `"720p"` |
| `resolution` | ✗ | ✗ | Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers. * **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k. * **`kling-2.6`**: Supports 720p, 1080p. * **`kling-3.0`**: Supports 720p, 1080p, 4k. * **`ltx-2.3`**: Supports 480p, 720p, 1080p. * **`ltx-2.5`**: Supports 480p, 720p, 1080p. * **`minimax-h3`**: Supports 480p, 720p, 1080p. * **`seedance-1.5`**: Supports 480p, 720p, 1080p. * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k. * **`seedance-2.0-mini`**: Supports 480p, 720p. * **`seedance-2.5`**: Supports 480p, 720p. * **`sora-2`**: Supports 720p. * **`veo3.1`**: Supports 720p, 1080p. * **`veo3.1-lite`**: Supports 720p, 1080p. * **`wan-2.2`**: Supports 480p, 720p, 1080p. | `"720p"` |

#### Synchronous Client

Expand Down
4 changes: 2 additions & 2 deletions magic_hour/resources/v1/text_to_video/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def create(
* **`ltx-2.5`**: Supports 480p, 720p, 1080p.
* **`minimax-h3`**: Supports 480p, 720p, 1080p.
* **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* **`seedance-2.0`**: Supports 480p, 720p.
* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
* **`seedance-2.0-mini`**: Supports 480p, 720p.
* **`seedance-2.5`**: Supports 480p, 720p.
* **`sora-2`**: Supports 720p.
Expand Down Expand Up @@ -596,7 +596,7 @@ async def create(
* **`ltx-2.5`**: Supports 480p, 720p, 1080p.
* **`minimax-h3`**: Supports 480p, 720p, 1080p.
* **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* **`seedance-2.0`**: Supports 480p, 720p.
* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
* **`seedance-2.0-mini`**: Supports 480p, 720p.
* **`seedance-2.5`**: Supports 480p, 720p.
* **`sora-2`**: Supports 720p.
Expand Down
2 changes: 1 addition & 1 deletion magic_hour/types/models/v1_image_projects_get_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ class V1ImageProjectsGetResponse(pydantic.BaseModel):
alias="type",
)
"""
The type of the image project. Possible values are FACE_EDITOR, AI_IMAGE_EDITOR, AI_SELFIE, AI_HEADSHOT, AI_INFLUENCER, AI_IMAGE, AI_MEME, CLOTHES_CHANGER, BACKGROUND_REMOVER, FACE_SWAP, IMAGE_UPSCALER, IMAGE_ENHANCER, AI_GIF, QR_CODE, PHOTO_EDITOR, PHOTO_COLORIZER, IMAGE_COLOR_GRADER, HEAD_SWAP, BODY_SWAP, STORYBOARD, IMAGE_EXPANDER
The type of the image project. Possible values are FACE_EDITOR, AI_IMAGE_EDITOR, GENERATIVE_FILL, AI_SELFIE, AI_HEADSHOT, AI_INFLUENCER, AI_IMAGE, AI_MEME, CLOTHES_CHANGER, BACKGROUND_REMOVER, FACE_SWAP, IMAGE_UPSCALER, IMAGE_ENHANCER, AI_GIF, QR_CODE, PHOTO_EDITOR, PHOTO_COLORIZER, IMAGE_COLOR_GRADER, HEAD_SWAP, BODY_SWAP, STORYBOARD, IMAGE_EXPANDER
"""
2 changes: 1 addition & 1 deletion magic_hour/types/params/v1_image_to_video_create_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class V1ImageToVideoCreateBody(typing_extensions.TypedDict):
* **`ltx-2.5`**: Supports 480p, 720p, 1080p.
* **`minimax-h3`**: Supports 480p, 720p, 1080p.
* **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* **`seedance-2.0`**: Supports 480p, 720p.
* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
* **`seedance-2.0-mini`**: Supports 480p, 720p.
* **`seedance-2.5`**: Supports 480p, 720p.
* **`sora-2`**: Supports 720p.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class V1ImageToVideoCreateBodyAssets(typing_extensions.TypedDict):
* **`ltx-2.5`**: Supports 480p, 720p, 1080p.
* **`minimax-h3`**: Not supported
* **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* **`seedance-2.0`**: Supports 480p, 720p.
* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
* **`seedance-2.0-mini`**: Supports 480p, 720p.
* **`seedance-2.5`**: Supports 480p, 720p.
* **`sora-2`**: Not supported
Expand Down
2 changes: 1 addition & 1 deletion magic_hour/types/params/v1_text_to_video_create_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class V1TextToVideoCreateBody(typing_extensions.TypedDict):
* **`ltx-2.5`**: Supports 480p, 720p, 1080p.
* **`minimax-h3`**: Supports 480p, 720p, 1080p.
* **`seedance-1.5`**: Supports 480p, 720p, 1080p.
* **`seedance-2.0`**: Supports 480p, 720p.
* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.
* **`seedance-2.0-mini`**: Supports 480p, 720p.
* **`seedance-2.5`**: Supports 480p, 720p.
* **`sora-2`**: Supports 720p.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "magic_hour"
version = "0.81.0"
version = "0.81.1"
description = "Python SDK for Magic Hour API"
readme = "README.md"
authors = []
Expand Down
Loading