Skip to content

Conversation

anurag12-webster
Copy link

  • Add FileType.WAV enum for sound effects generation
  • Add SFX endpoint URL to MODELS_LAB_URLS
  • Update _create_payload to handle SFX-specific parameters
  • Handle different response structure for SFX API (output vs future_links)
  • Update _add_media_artifact to support WAV audio artifacts

Summary

Describe key changes, mention related issues or motivation for the changes.

(If applicable, issue number: #____)

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Improvement
  • Model update
  • Other:

Checklist

  • Code complies with style guidelines
  • Ran format/validation scripts (./scripts/format.sh and ./scripts/validate.sh)
  • Self-review completed
  • Documentation updated (comments, docstrings)
  • Examples and guides: Relevant cookbook examples have been included or updated (if applicable)
  • Tested in clean environment
  • Tests added/updated (if applicable)

Additional Notes

Add any important context (deployment instructions, screenshots, security considerations, etc.)

  1. existing docstring cover the new fucntionality.

  2. will be adding cookbook example in upcoming PRs soon..

  3. SFX API has a different response structure (returns URLs in output field instead of future_links), which is now properly handled. Users can create SFX agents using ModelsLabTools(file_type=FileType.WAV)

- Add FileType.WAV enum for sound effects generation
- Add SFX endpoint URL to MODELS_LAB_URLS
- Update _create_payload to handle SFX-specific parameters
- Handle different response structure for SFX API (output vs future_links)
- Update _add_media_artifact to support WAV audio artifacts
@anurag12-webster anurag12-webster requested a review from a team as a code owner August 28, 2025 08:26
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