Skip to content

sync: align Suno provider surface with latest Docs OpenAPI - #754

Draft
Germey with Copilot wants to merge 2 commits into
mainfrom
copilot/sync-update-from-docs-3ee06edf-3121-4b25-aafa-d450a25f9508
Draft

Germey with Copilot wants to merge 2 commits into
mainfrom
copilot/sync-update-from-docs-3ee06edf-3121-4b25-aafa-d450a25f9508

Conversation

Copilot AI commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Docs added/changed Suno contract details that were missing in the SDK surface. This PR syncs Suno request models/endpoints to match the latest OpenAPI, including new endpoint coverage and updated parameter contracts across Python, TypeScript, and Go.

  • Provider surface sync (Python/TypeScript/Go)

    • Added Suno model enum values: chirp-v6, chirp-v6-wild, chirp-v6-mini.
    • Added replace_section_result_mode to /suno/audios with default full_song.
    • Updated /suno/vox signature contract to require vocal_start and vocal_end.
    • Updated /suno/upload contract to include mode (default standard) and optional name.
  • New endpoint coverage

    • Added /suno/mp3 to service manifest and generated provider clients.
    • Exposed mp3 method in Suno providers (pollable task endpoint behavior preserved).
  • Generator source sync

    • Updated Suno pinned specs under scripts/specs/* for affected operations.
    • Updated scripts/services.json to include the new Suno operation ID/path mapping.
# New/updated Suno surface examples
handle = client.suno.generate(
    model="chirp-v6",
    prompt="cinematic instrumental",
    replace_section_result_mode="full_song",
)

mp3_task = client.suno.mp3(audio_id="existing-audio-id")
uploaded = client.suno.upload(audio_url="https://cdn.example.com/in.wav", mode="standard", name="vox-ref")

Co-authored-by: Germey <8678661+Germey@users.noreply.github.com>
Copilot AI changed the title [WIP] Sync SDK with latest API specs from Docs sync: align Suno provider surface with latest Docs OpenAPI Sep 11, 2026
Copilot AI requested a review from Germey September 11, 2026 11:04

This branch has not been deployed

No deployments
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.

sync: update from Docs (40c6eee docs: sync from PlatformBackend [automated])

2 participants