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
34 changes: 33 additions & 1 deletion .sdk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "0270e04f-dd51-4f01-9578-99d683c4ee44",
"id": "2db416fc-d566-4b6b-a6a2-d7d8e5e2be0e",
"tracked_paths": [
{
"editable": true,
Expand Down Expand Up @@ -197,6 +197,18 @@
"editable": true,
"path": "magic_hour/resources/v1/audio_projects/client.py"
},
{
"editable": true,
"path": "magic_hour/resources/v1/audio_to_video/README.md"
},
{
"editable": true,
"path": "magic_hour/resources/v1/audio_to_video/__init__.py"
},
{
"editable": true,
"path": "magic_hour/resources/v1/audio_to_video/client.py"
},
{
"editable": true,
"path": "magic_hour/resources/v1/auto_subtitle_generator/README.md"
Expand Down Expand Up @@ -461,6 +473,10 @@
"editable": false,
"path": "magic_hour/types/models/v1_audio_projects_get_response_error.py"
},
{
"editable": false,
"path": "magic_hour/types/models/v1_audio_to_video_create_response.py"
},
{
"editable": false,
"path": "magic_hour/types/models/v1_auto_subtitle_generator_create_response.py"
Expand Down Expand Up @@ -689,6 +705,18 @@
"editable": false,
"path": "magic_hour/types/params/v1_animation_create_body_style.py"
},
{
"editable": false,
"path": "magic_hour/types/params/v1_audio_to_video_create_body.py"
},
{
"editable": false,
"path": "magic_hour/types/params/v1_audio_to_video_create_body_assets.py"
},
{
"editable": false,
"path": "magic_hour/types/params/v1_audio_to_video_create_body_style.py"
},
{
"editable": false,
"path": "magic_hour/types/params/v1_auto_subtitle_generator_create_body.py"
Expand Down Expand Up @@ -885,6 +913,10 @@
"editable": false,
"path": "tests/test_v1_audio_projects_client.py"
},
{
"editable": false,
"path": "tests/test_v1_audio_to_video_client.py"
},
{
"editable": false,
"path": "tests/test_v1_auto_subtitle_generator_client.py"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ download_urls = result.downloads
- [delete](magic_hour/resources/v1/audio_projects/README.md#delete) - Delete audio
- [get](magic_hour/resources/v1/audio_projects/README.md#get) - Get audio details

### [v1.audio_to_video](magic_hour/resources/v1/audio_to_video/README.md)

- [create](magic_hour/resources/v1/audio_to_video/README.md#create) - Audio-to-Video

### [v1.auto_subtitle_generator](magic_hour/resources/v1/auto_subtitle_generator/README.md)

- [create](magic_hour/resources/v1/auto_subtitle_generator/README.md#create) - Auto Subtitle Generator
Expand Down
1 change: 1 addition & 0 deletions magic_hour/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- [ai_voice_generator](resources/v1/ai_voice_generator/README.md) - ai_voice_generator
- [animation](resources/v1/animation/README.md) - animation
- [audio_projects](resources/v1/audio_projects/README.md) - audio_projects
- [audio_to_video](resources/v1/audio_to_video/README.md) - audio_to_video
- [auto_subtitle_generator](resources/v1/auto_subtitle_generator/README.md) - auto_subtitle_generator
- [body_swap](resources/v1/body_swap/README.md) - body_swap
- [face_detection](resources/v1/face_detection/README.md) - face_detection
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.63.0"
MOCK_SERVER = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.64.0"


def _get_base_url(
Expand Down
1 change: 1 addition & 0 deletions magic_hour/resources/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- [ai_voice_generator](ai_voice_generator/README.md) - ai_voice_generator
- [animation](animation/README.md) - animation
- [audio_projects](audio_projects/README.md) - audio_projects
- [audio_to_video](audio_to_video/README.md) - audio_to_video
- [auto_subtitle_generator](auto_subtitle_generator/README.md) - auto_subtitle_generator
- [body_swap](body_swap/README.md) - body_swap
- [face_detection](face_detection/README.md) - face_detection
Expand Down
26 changes: 13 additions & 13 deletions magic_hour/resources/v1/ai_image_editor/README.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions magic_hour/resources/v1/ai_image_editor/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,15 @@ def create(
- Max additional input images: 2
- `nano-banana` - from 50 credits/image
- Supported resolutions: 640px, 1k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `nano-banana-2` - from 100 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `seedream-v4` - from 40 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `nano-banana-pro` - from 150 credits/image
- Supported resolutions: 1k, 2k, 4k
Expand Down Expand Up @@ -458,15 +458,15 @@ async def create(
- Max additional input images: 2
- `nano-banana` - from 50 credits/image
- Supported resolutions: 640px, 1k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `nano-banana-2` - from 100 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `seedream-v4` - from 40 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `nano-banana-pro` - from 150 credits/image
- Supported resolutions: 1k, 2k, 4k
Expand Down
24 changes: 12 additions & 12 deletions magic_hour/resources/v1/ai_image_generator/README.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions magic_hour/resources/v1/ai_image_generator/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@ def create(
- Image count allowed: 1, 2, 3, 4
- `seedream-v4` - from 40 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `nano-banana` - from 50 credits/image
- Supported resolutions: 640px, 1k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `nano-banana-2` - from 100 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Image count allowed: 1, 4, 9, 16
- `nano-banana-pro` - from 150 credits/image
- Supported resolutions: 1k, 2k, 4k
Expand Down Expand Up @@ -430,15 +430,15 @@ async def create(
- Image count allowed: 1, 2, 3, 4
- `seedream-v4` - from 40 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `nano-banana` - from 50 credits/image
- Supported resolutions: 640px, 1k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `nano-banana-2` - from 100 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: free, creator, pro, business
- Available for tiers: creator, pro, business
- Image count allowed: 1, 4, 9, 16
- `nano-banana-pro` - from 150 credits/image
- Supported resolutions: 1k, 2k, 4k
Expand Down
Loading
Loading