Skip to content

feat!: expand video options and remove Bob Dylan voice - #176

Merged
davidhu2000 merged 2 commits into
mainfrom
sdk-release-2026/09/24-04.10.33
Sep 24, 2026
Merged

davidhu2000 merged 2 commits into
mainfrom
sdk-release-2026/09/24-04.10.33

Conversation

@magic-hour-sdk-bot

Copy link
Copy Markdown
Contributor

API changes

Breaking

  • Removed Bob Dylan from allowed voice names for POST /v1/ai-voice-generator. Requests using this voice may no longer be valid.

New

  • Added ltx-2.5 as a model for POST /v1/ai-video-editor.
  • Added references to POST /v1/text-to-video and raised its prompt limit from 2,000 to 5,000 characters.

Other

  • Updated video model guidance and API examples.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Parameter Sync Check Failed

The generate() methods are missing parameters that exist in create() methods, or their param types/defaults differ from create().

Checking 28 client files with generate() methods...

OK: ai_clothes_changer
OK: ai_face_editor
OK: ai_gif_generator
OK: ai_headshot_generator
OK: ai_image_editor
OK: ai_image_generator
OK: ai_image_upscaler
OK: ai_meme_generator
OK: ai_qr_code_generator
OK: ai_talking_photo
MISMATCH: ai_video_editor
  File: ./magic_hour/resources/v1/ai_video_editor/client.py
  sync client - Definition differs from create(): model
  async client - Definition differs from create(): model

OK: ai_voice_cloner
OK: ai_voice_generator
OK: animation
OK: audio_to_video
OK: auto_subtitle_generator
OK: body_swap
OK: character_replace
OK: face_detection
OK: face_swap
OK: face_swap_photo
OK: head_swap
OK: image_background_remover
OK: image_to_video
OK: lip_sync
OK: photo_colorizer
MISMATCH: text_to_video
  File: ./magic_hour/resources/v1/text_to_video/client.py
  sync client - Missing in generate(): references
  async client - Missing in generate(): references

OK: video_to_video

============================================================

Found 2 file(s) with parameter mismatches:

Applying fixes...

  Fixing ai_video_editor...
    sync client - Definition differs from create(): model
    async client - Definition differs from create(): model
    ✓ Fixed ./magic_hour/resources/v1/ai_video_editor/client.py

  Fixing text_to_video...
    sync client - Missing in generate(): references
    async client - Missing in generate(): references
    ✓ Fixed ./magic_hour/resources/v1/text_to_video/client.py

Fixed 2 of 2 file(s)

Re-checking files...
  ai_video_editor: ✓ All fixed
  text_to_video: ✓ All fixed

✓ All issues resolved!

How to fix: Run python codemod/check_generate_create_sync.py --fix and commit the result.

@davidhu2000
davidhu2000 merged commit 55b79b9 into main Sep 24, 2026
6 checks passed
@davidhu2000
davidhu2000 deleted the sdk-release-2026/09/24-04.10.33 branch September 24, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant