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": "01c627ac-ebeb-4e1d-8067-9836f219afd9",
"id": "546e1877-5fc9-48f8-af87-100072c9c2fc",
"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.59.0"
MOCK_SERVER = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.60.0"


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

Large diffs are not rendered by default.

52 changes: 36 additions & 16 deletions magic_hour/resources/v1/image_to_video/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,11 @@ def create(
"kling-3.0",
"ltx-2",
"seedance",
"seedance-2.0",
"sora-2",
"veo3.1",
"veo3.1-audio",
"veo3.1-lite",
"wan-2.2",
]
],
Expand Down Expand Up @@ -211,10 +213,12 @@ def create(
* **`ltx-2`**: Automatically included with no extra credits
* **`wan-2.2`**: Not supported
* **`seedance`**: Not supported
* **`seedance-2.0`**: Not supported
* **`kling-2.5`**: Automatically included with no extra credits
* **`kling-3.0`**: Toggle-able (can enable/disable)
* **`sora-2`**: Automatically included with no extra credits
* **`veo3.1`**: Toggle-able (can enable/disable)
* **`veo3.1-lite`**: Automatically included with no extra credits

Legacy models:
* **`kling-1.6`**: Not supported
Expand All @@ -224,16 +228,18 @@ def create(
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`.
* `ltx-2`: Great for fast iteration with audio, lip-sync, and expressive faces
* `wan-2.2`: Fast, medium-quality model with strong visuals and effect support.
* `seedance`: Great for fast iteration and start/end frame
* `kling-2.5`: Great for motion, action, and camera control
* `kling-3.0`: Great for cinematic, multi-scene storytelling with control
* `sora-2`: Great for story-telling, dialogue & creativity
* `veo3.1`: Great for realism, polish, & prompt adherence
* `ltx-2`: Fast iteration with audio and lip-sync
* `wan-2.2`: Fast, strong visuals with effects
* `seedance`: Fast iteration and start/end frames
* `seedance-2.0`: State-of-the-art quality and consistency
* `kling-2.5`: Motion, action, and camera control
* `kling-3.0`: Cinematic, multi-scene storytelling
* `sora-2`: Story-first concepts and creativity
* `veo3.1`: Realistic visuals and prompt adherence
* `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.

Legacy models:
* `kling-1.6`: Great for dependable clips with smooth motion
* `kling-1.6`: Reliable baseline with smooth motion

If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
name: Give your video a custom name for easy identification.
Expand All @@ -242,10 +248,12 @@ def create(
* **`ltx-2`**: Supports 480p, 720p, 1080p.
* **`wan-2.2`**: Supports 480p, 720p, 1080p.
* **`seedance`**: Supports 480p, 720p, 1080p.
* **`seedance-2.0`**: Supports 480p, 720p.
* **`kling-2.5`**: Supports 720p, 1080p.
* **`kling-3.0`**: Supports 720p, 1080p.
* **`sora-2`**: Supports 720p.
* **`veo3.1`**: Supports 720p, 1080p.
* **`veo3.1-lite`**: Supports 720p, 1080p.

Legacy models:
* **`kling-1.6`**: Supports 720p, 1080p.
Expand All @@ -259,10 +267,12 @@ def create(
* **`ltx-2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
* **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
* **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
* **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* **`kling-2.5`**: 5, 10
* **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56

Legacy models:
* **`kling-1.6`**: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
Expand Down Expand Up @@ -446,9 +456,11 @@ async def create(
"kling-3.0",
"ltx-2",
"seedance",
"seedance-2.0",
"sora-2",
"veo3.1",
"veo3.1-audio",
"veo3.1-lite",
"wan-2.2",
]
],
Expand Down Expand Up @@ -504,10 +516,12 @@ async def create(
* **`ltx-2`**: Automatically included with no extra credits
* **`wan-2.2`**: Not supported
* **`seedance`**: Not supported
* **`seedance-2.0`**: Not supported
* **`kling-2.5`**: Automatically included with no extra credits
* **`kling-3.0`**: Toggle-able (can enable/disable)
* **`sora-2`**: Automatically included with no extra credits
* **`veo3.1`**: Toggle-able (can enable/disable)
* **`veo3.1-lite`**: Automatically included with no extra credits

Legacy models:
* **`kling-1.6`**: Not supported
Expand All @@ -517,16 +531,18 @@ async def create(
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`.
* `ltx-2`: Great for fast iteration with audio, lip-sync, and expressive faces
* `wan-2.2`: Fast, medium-quality model with strong visuals and effect support.
* `seedance`: Great for fast iteration and start/end frame
* `kling-2.5`: Great for motion, action, and camera control
* `kling-3.0`: Great for cinematic, multi-scene storytelling with control
* `sora-2`: Great for story-telling, dialogue & creativity
* `veo3.1`: Great for realism, polish, & prompt adherence
* `ltx-2`: Fast iteration with audio and lip-sync
* `wan-2.2`: Fast, strong visuals with effects
* `seedance`: Fast iteration and start/end frames
* `seedance-2.0`: State-of-the-art quality and consistency
* `kling-2.5`: Motion, action, and camera control
* `kling-3.0`: Cinematic, multi-scene storytelling
* `sora-2`: Story-first concepts and creativity
* `veo3.1`: Realistic visuals and prompt adherence
* `veo3.1-lite`: Good for fast, affordable, high-quality daily generation.

Legacy models:
* `kling-1.6`: Great for dependable clips with smooth motion
* `kling-1.6`: Reliable baseline with smooth motion

If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
name: Give your video a custom name for easy identification.
Expand All @@ -535,10 +551,12 @@ async def create(
* **`ltx-2`**: Supports 480p, 720p, 1080p.
* **`wan-2.2`**: Supports 480p, 720p, 1080p.
* **`seedance`**: Supports 480p, 720p, 1080p.
* **`seedance-2.0`**: Supports 480p, 720p.
* **`kling-2.5`**: Supports 720p, 1080p.
* **`kling-3.0`**: Supports 720p, 1080p.
* **`sora-2`**: Supports 720p.
* **`veo3.1`**: Supports 720p, 1080p.
* **`veo3.1-lite`**: Supports 720p, 1080p.

Legacy models:
* **`kling-1.6`**: Supports 720p, 1080p.
Expand All @@ -552,10 +570,12 @@ async def create(
* **`ltx-2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
* **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
* **`seedance`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
* **`seedance-2.0`**: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* **`kling-2.5`**: 5, 10
* **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* **`sora-2`**: 4, 8, 12, 24, 36, 48, 60
* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56

Legacy models:
* **`kling-1.6`**: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60
Expand Down
Loading
Loading