Skip to content

feat: add UGC ad generation and Seedance 2.0 Fast - #186

Merged
davidhu2000 merged 3 commits into
mainfrom
sdk-release-2026/10/20-03.45.56
Oct 20, 2026
Merged

davidhu2000 merged 3 commits into
mainfrom
sdk-release-2026/10/20-03.45.56

Conversation

@magic-hour-sdk-bot

@magic-hour-sdk-bot magic-hour-sdk-bot Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Features

  • Added POST /v1/ai-ugc-ad for spoken videos from an image and script. Includes sync and async .generate() with automatic image upload, polling, and downloads.
  • Added seedance-2.0-fast to POST /v1/image-to-video and POST /v1/text-to-video with 4 to 15s clips and 480p/720p output.
  • Added 480p/720p resolution presets to POST /v1/ai-talking-photo; deprecated max_resolution.
  • Added minimax-h3 end frames to POST /v1/image-to-video and gemini-omni-1.1/veo3.1 references to POST /v1/text-to-video.

@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 29 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
MISMATCH: ai_talking_photo
  File: ./magic_hour/resources/v1/ai_talking_photo/client.py
  sync client - Missing in generate(): resolution
  async client - Missing in generate(): resolution

OK: ai_video_editor
OK: ai_video_translator
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
MISMATCH: image_to_video
  File: ./magic_hour/resources/v1/image_to_video/client.py
  sync client - Definition differs from create(): model
  async client - Definition differs from create(): model

OK: lip_sync
OK: photo_colorizer
MISMATCH: text_to_video
  File: ./magic_hour/resources/v1/text_to_video/client.py
  sync client - Definition differs from create(): model
  async client - Definition differs from create(): model

OK: video_to_video

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

Found 3 file(s) with parameter mismatches:

Applying fixes...

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

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

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

Fixed 3 of 3 file(s)

Re-checking files...
  ai_talking_photo: ✓ All fixed
  image_to_video: ✓ 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 c2bde99 into main Oct 20, 2026
5 checks passed
@davidhu2000
davidhu2000 deleted the sdk-release-2026/10/20-03.45.56 branch October 20, 2026 04:06
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