Kie.ai icon

Kie.ai

Generate images, videos, and music using Kie.ai API

Actions9

Music → Generate Music

AI-generated

Summary

Generate music via a chosen model and configurable parameters

Inputs

  • model (required) — The model version to use for generation (e.g., Suno V4 or Suno V4.5)
  • prompt (required) — The text prompt describing the desired music
  • lyrics — Optional custom lyrics to include in the generated music
  • genre — Optional genre specification for the music
  • instrumental — If true, the music will be instrumental without vocals
  • duration — Desired duration of the music in seconds
  • seed — Optional seed value for reproducible generation; -1 for random
  • title — Optional title for the generated music piece
  • voiceStyle — Optional voice style descriptor for vocal tracks

Output shape

a list of objects containing the generated music task metadata

Each element corresponds to one generated music request; optional fields are omitted if not set; errors are propagated unless the workflow continues on failure.

Examples

Example 1: Generate an instrumental ambient track titled 'Neon Dreams' with a 45‑second duration

{"model":"V4","prompt":"instrumental ambient track titled Neon Dreams","duration":45,"title":"Neon Dreams","instrumental":true}

Links

Discussion