Skip to content

feat: add generate workflow to audio_to_video client#141

Merged
davidhu2000 merged 1 commit into
sdk-release-2026/05/27-17.19.09from
feat/audio-to-video-generate
May 27, 2026
Merged

feat: add generate workflow to audio_to_video client#141
davidhu2000 merged 1 commit into
sdk-release-2026/05/27-17.19.09from
feat/audio-to-video-generate

Conversation

@davidhu2000

Copy link
Copy Markdown
Contributor

Summary

  • Adds sync/async client.v1.audio_to_video.generate() matching other video clients (image_to_video, lip_sync, etc.)
  • Uploads local audio_file_path and optional image_file_path, creates the job, polls via video_projects.check_result, and optionally downloads outputs
  • Introduces V1AudioToVideoGenerateBodyAssets for local-path asset typing and documents the workflow in README

Test plan

  • python -m pytest tests/test_v1_audio_to_video_client.py (mock server)
  • Manual: generate() with local audio + optional image paths, verify upload → create → poll → download

Made with Cursor

Adds sync/async .generate that uploads local assets, creates the job,
polls for completion, and optionally downloads outputs—matching other
video resource clients like image_to_video and lip_sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
@davidhu2000 davidhu2000 merged commit e74c449 into sdk-release-2026/05/27-17.19.09 May 27, 2026
7 checks passed
@davidhu2000 davidhu2000 deleted the feat/audio-to-video-generate branch May 27, 2026 17:41
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