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": "3d0a471b-07ca-4e2e-85d9-7cff5b51eaa2",
"id": "40e58135-1a10-46b7-b638-5f3bbe7994ad",
"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.72.0"
MOCK_SERVER = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.73.0"


def _get_base_url(
Expand Down
2 changes: 1 addition & 1 deletion magic_hour/resources/v1/ai_video_editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Create the same Video Editor you can make in the browser, but programmatically,
**Cost**\
Credits are only charged for the frames that actually render. You'll see an estimate when the job is queued, and the final total after it's done.

For detailed examples, see the [product page](https://magichour.ai/products/video-editor).
For detailed examples, see the [product page](https://magichour.ai/products/ai-video-editor).

**API Endpoint**: `POST /v1/ai-video-editor`

Expand Down
4 changes: 2 additions & 2 deletions magic_hour/resources/v1/ai_video_editor/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def create(
**Cost**
Credits are only charged for the frames that actually render. You'll see an estimate when the job is queued, and the final total after it's done.

For detailed examples, see the [product page](https://magichour.ai/products/video-editor).
For detailed examples, see the [product page](https://magichour.ai/products/ai-video-editor).

POST /v1/ai-video-editor

Expand Down Expand Up @@ -345,7 +345,7 @@ async def create(
**Cost**
Credits are only charged for the frames that actually render. You'll see an estimate when the job is queued, and the final total after it's done.

For detailed examples, see the [product page](https://magichour.ai/products/video-editor).
For detailed examples, see the [product page](https://magichour.ai/products/ai-video-editor).

POST /v1/ai-video-editor

Expand Down
12 changes: 6 additions & 6 deletions magic_hour/resources/v1/ai_voice_generator/README.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions magic_hour/resources/v1/character_replace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ res = client.v1.character_replace.create(
name="My Character Replace video",
resolution="720p",
start_seconds=0.0,
style={"mode": "replace", "selection_mode": "auto"},
)
```

Expand All @@ -157,6 +158,7 @@ res = await client.v1.character_replace.create(
name="My Character Replace video",
resolution="720p",
start_seconds=0.0,
style={"mode": "replace", "selection_mode": "auto"},
)
```

Expand Down
2 changes: 2 additions & 0 deletions magic_hour/resources/v1/character_replace/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ def create(
name="My Character Replace video",
resolution="720p",
start_seconds=0.0,
style={"mode": "replace", "selection_mode": "auto"},
)
```
"""
Expand Down Expand Up @@ -387,6 +388,7 @@ async def create(
name="My Character Replace video",
resolution="720p",
start_seconds=0.0,
style={"mode": "replace", "selection_mode": "auto"},
)
```
"""
Expand Down
32 changes: 16 additions & 16 deletions magic_hour/resources/v1/image_to_video/README.md

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions magic_hour/resources/v1/image_to_video/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ def create(
Audio support varies by model:
* **`ltx-2.3`**: Toggle-able: no additional credits for audio
* **`wan-2.2`**: Not supported
* **`kling-2.5`**: Toggle-able: no additional credits for audio
* **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
* **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
* **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
Expand All @@ -232,7 +231,6 @@ def create(
* `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.3`.
* `ltx-2.3`: Fastest output. Best for rapid iteration.
* `wan-2.2`: Strong physics, camera moves, and motion.
* `kling-2.5`: Great for action, motion blur, and camera moves.
* `kling-3.0`: Best overall quality for cinematic storytelling.
* `veo3.1-lite`: Veo quality at a more accessible cost.
* `veo3.1`: Google's model. Highest realism and detail.
Expand All @@ -247,7 +245,6 @@ def create(

* **`ltx-2.3`**: Supports 480p, 720p, 1080p.
* **`wan-2.2`**: Supports 480p, 720p, 1080p.
* **`kling-2.5`**: Supports 720p, 1080p.
* **`kling-3.0`**: Supports 720p, 1080p, 4k.
* **`veo3.1-lite`**: Supports 720p, 1080p.
* **`veo3.1`**: Supports 720p, 1080p.
Expand All @@ -265,7 +262,6 @@ def create(

* **`ltx-2.3`**: 1, 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
* **`kling-2.5`**: 5, 10
* **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
Expand Down Expand Up @@ -516,7 +512,6 @@ async def create(
Audio support varies by model:
* **`ltx-2.3`**: Toggle-able: no additional credits for audio
* **`wan-2.2`**: Not supported
* **`kling-2.5`**: Toggle-able: no additional credits for audio
* **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
* **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
* **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
Expand All @@ -533,7 +528,6 @@ async def create(
* `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.3`.
* `ltx-2.3`: Fastest output. Best for rapid iteration.
* `wan-2.2`: Strong physics, camera moves, and motion.
* `kling-2.5`: Great for action, motion blur, and camera moves.
* `kling-3.0`: Best overall quality for cinematic storytelling.
* `veo3.1-lite`: Veo quality at a more accessible cost.
* `veo3.1`: Google's model. Highest realism and detail.
Expand All @@ -548,7 +542,6 @@ async def create(

* **`ltx-2.3`**: Supports 480p, 720p, 1080p.
* **`wan-2.2`**: Supports 480p, 720p, 1080p.
* **`kling-2.5`**: Supports 720p, 1080p.
* **`kling-3.0`**: Supports 720p, 1080p, 4k.
* **`veo3.1-lite`**: Supports 720p, 1080p.
* **`veo3.1`**: Supports 720p, 1080p.
Expand All @@ -566,7 +559,6 @@ async def create(

* **`ltx-2.3`**: 1, 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
* **`kling-2.5`**: 5, 10
* **`kling-3.0`**: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
Expand Down
Loading
Loading