Volver al catálogo

Words into Music (Savuko)

words_into_music

Words into Music turns ideas or lyrics into generated songs and provides account, generation-job, billing-checkout, and private song-library APIs.

Acciones
7
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (7)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create Checkout LinkWORDS_INTO_MUSIC_CREATE_CHECKOUT_LINKAcción

Create an unpaid, account-bound Stripe checkout URL for a current offer that the user explicitly approved. This action only creates a URL: it does not purchase anything, charge the user, activate a subscription, or add song credits. Payment can occur only later on Stripe.

Parámetros de entrada

  • kindstringObligatorioenum

    Type of current offer that the user explicitly approved.

    subscriptionpack
  • offerstringObligatorioenum

    Current offer ID from GET_ACCOUNT_USAGE that the user explicitly approved. Subscriptions use starter, creator, or studio; packs use small, medium, or large.

    startercreatorstudiosmallmediumlarge
  • localestringenum

    Locale for the unpaid hosted checkout page.

    enesdefrpt-BRitnlplsvjako
  • intervalstringenum

    Billing interval required for a subscription; omit for a pack.

    monthyear
  • confirmedbooleanObligatorio

    Must be exactly true, and only after the user explicitly approves the current offer returned by GET_ACCOUNT_USAGE.

  • request_keystringObligatorio

    Stable 16-80 character idempotency key for this checkout-link intent; reuse it when retrying the same request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Account UsageWORDS_INTO_MUSIC_GET_ACCOUNT_USAGEAcción

Return available and reserved song credits, the per-song credit cost, supported languages, and current checkout offers for the connected account.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SongWORDS_INTO_MUSIC_GET_SONGAcción

Return one song owned by the connected account, optionally including its lyrics. The returned URL is a private owner-only library page requiring the owner's sign-in, not a public stream or audio download URL.

Parámetros de entrada

  • song_idstringObligatorio

    ID of a song in the connected account's private library.

  • include_lyricsboolean

    Set true to include lyrics; lyrics are omitted by default.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Song JobWORDS_INTO_MUSIC_GET_SONG_JOBAcción

Return the current status of one song-generation job and its completed private song record when ready. Poll no more often than once every 15 seconds, and honor a longer next_check_after_seconds delay when returned.

Parámetros de entrada

  • job_idstringObligatorio

    Generation job ID returned by START_SONG_WITH_ONE_CREDIT. Wait at least 15 seconds between checks and, when returned, wait at least next_check_after_seconds before checking again.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List SongsWORDS_INTO_MUSIC_LIST_SONGSAcción

Return one newest-first page from the connected account's private song library and a cursor for the next page.

Parámetros de entrada

  • limitinteger

    Maximum songs to return in this page, from 1 through 20.

  • cursorstring

    Opaque cursor returned as next_cursor by the previous call; omit or pass null for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Prepare SongWORDS_INTO_MUSIC_PREPARE_SONGAcción

Validate and prepare a song brief for one hour without starting generation or spending a song credit. Preparation spends zero credits and returns a prepared request ID for the separate start action.

Parámetros de entrada

  • ideastring

    Song concept or story for idea mode.

  • modestringenum

    Whether to generate from an idea or from supplied lyrics.

    idealyrics
  • titlestring

    Optional song title.

  • lyricsstring

    Complete supplied lyrics for lyrics mode.

  • languagestringenum

    Language for generated or supplied lyrics.

    enesdefrpt-BRitnlplsvjako
  • directionstringObligatorio

    Musical direction covering style, instruments, mood, tempo, and vocal delivery.

  • ui_localestringenum

    Locale for provider messages and account-facing UI links.

    enesdefrpt-BRitnlplsvjako
  • request_idstringObligatorio

    Unique stable ID for this exact song brief. Reuse it for retries and use a new ID only when the brief changes.

  • instrumentalboolean

    Set true to request music without vocals.

  • duration_secondsinteger

    Requested song duration in seconds, from 60 through 180.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start Song Using One Existing Credit (No Credit Purchase)WORDS_INTO_MUSIC_START_SONG_WITH_ONE_CREDITAcción

Start generation from a prepared request. Success reserves and spends exactly one existing song credit; this action never purchases credits or opens checkout. If no credit is available, it returns an actionable PAYMENT_REQUIRED error with the preserved prepared request ID, current offers, and checkout routing.

Parámetros de entrada

  • prepared_request_idstringObligatorio

    Prepared request ID from PREPARE_SONG. A successful call reserves exactly one existing song credit and never purchases credits. Reuse this same ID after a timeout or after adding credits so a duplicate song is not prepared.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not