API Doc-ElkAPI
  1. Udio (not available yet)
API Doc-ElkAPI
  • Quick Start
    • Quick Start
    • Must-read for beginners
    • ElkAPI Announcement
  • API Reference
    • Error status code description
    • OpenAI Format
      • Veo3-chat format
      • seedance
      • response
      • generate video
      • image
      • Image Editing (gpt-image-1)
      • embed
      • Realtime
      • Get model list
      • Response ID to obtain results
      • Hunyuan3D
    • Anthropic Format
      • Anthropic Claude
    • Midjourney Image Generation
      • Quick teaching-complete process in one go
      • Task Query
        • pagination query
        • Specify ID to obtain task
      • Submit Imagine task
      • Submit video task
      • Submit editing task
      • Submit Action Task
      • Submit Blend task
      • Submit Describe task
      • Submit Modal
    • Image Generation
      • ideogram(images)
        • Official documentation (updated in real time)
        • Generate 3.0 (illustrated in the text)
        • Reframe 3.0 (Refactoring)
        • Replace Background 3.0
        • Remix 3.0 (Mixed Graph)
        • Edit 3.0 (Edit)
        • Generate (text and image)
        • Remix (mixed image)
        • Upscale (enlarged high-definition)
        • Describe
        • Edit
      • Flux(images)
        • Create Task - General
        • generate image
        • Fine tuning (temporarily unavailable)
        • query task
        • Generate image (replica format)
      • Replicate(image)
        • Create Task - General
        • Create task - float kontext pro, max
        • Create task-black forest labs/flux-1.1-pro
        • Create task-black forest labs/flux-1.1-pro ultra
        • query task
        • Create task
      • Recraft(images)
        • Generate Image
        • Vectorize Image
        • Remove Background
        • Clarity Upscale
        • Create style
        • Generative Upscale
    • Music Generation
      • Suno
        • Set suno version
        • Suno API Scenario Application Guide
        • Generate lyrics
        • Generate music
        • Upload music
        • Song Splicing
        • Full track acoustic separation
        • Single track acoustic separation
        • Create a new Persona
        • Query a single task
        • Generate MP4 MV video
        • Retrieve WAV format files
        • Timing: Lyrics, audio timeline
        • Batch query task
        • Create music using persona_id
      • Udio (not available yet)
        • Generate music
          POST
        • Query a single task
          GET
    • Video Generation
      • veo3
        • veo3-chat format
        • Submit video generation task
        • Check the video generation status
      • Dream Test
        • seedance
      • runway(video)
        • Official format
          • Generate videos from images
          • Get detailed task information
        • Reverse format
          • Generate (text)
          • Generate (refer to image)
          • Video2video video to video style redrawing
          • Act one emoji transfer
          • Feed - Get Task
      • kling (video)
        • Callback Protocol
        • image expansion
        • generate image
        • text-to-video
        • image-to-video
        • Video extension
        • Virtual try on
        • lip-sync
        • video effects
        • Query task (single)
      • luma (video)
        • Official API format
          • generate video
          • Single query task
      • MiniMax Conch (video)
        • Official Documentation
        • video generation
        • query task
        • File Download
      • PIKA(video)
        • Universal version
          • generate video
          • Query video tasks
        • Generate (reference video/extended video)
        • Generate (refer to image)
        • Generate (text)
        • feed
      • sora
        • Reverse format
          • Create video
          • Generate Video
          • Query video tasks
    • Audio
      • Text to audio conversion
      • audio to text
      • Create translation
  • Integration Guide
    • Best Practices
      • Claude code access instructions
      • ElkAPI Account Balance Query API Usage Instructions
      • Retry logic documentation using ElkAPI and OpenAI's official API
      • Midjorney Calling Best Practices
      • Runway Call Best Practices
    • Application Integration Guide
  • Pricing and Billing
    • About Price
    • About Grouping
  • Help Center
    • Help Center
    • Interface stability
    • Common Misconceptions
    • Use confusion
    • Privacy Policy
    • Terms of Service
  1. Udio (not available yet)

Query a single task

GET
https://api.elkapi.com/udio/query

Udio Task Query#

This endpoint retrieves one or more Udio music tasks from the Comet API via an HTTP GET request.

Request#

Requests should be sent to https://api.elkapi.com/udio/query and include the following query parameters:
ids (string, required): The IDs of the audio query to retrieve.

Request

Query Params

Header Params

Body Params application/json

Examples

Responses

🟢200Task query
text/plain
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.elkapi.com/udio/query?ids=4f6532fa-ef6f-495b-a7fe-98b58453c9bc,632ac4b3-83e0-4e52-8d92-57268ffdf116' \
--header 'Authorization: Bearer {{api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{"songs":[{"artist":"IntenseOud7926","artist_image":"https://lh3.googleusercontent.com/a/ACg8ocKvJm3a7aflzezMn2Px3z53YQ8ohs_6W9FIfVkkO8ZiZ-1fMQ=s96-c","attribution":"","audio_conditioning_type":null,"created_at":"2024-11-04T15:47:35.363658+00:00","description":"","disliked":false,"duration":32.8106666666667,"error_code":null,"error_detail":null,"error_id":null,"error_type":null,"finished":true,"generation_id":"ffbd57bd-b024-4088-a49c-dcbeaf429725","id":"4f6532fa-ef6f-495b-a7fe-98b58453c9bc","image_path":"https://imagedelivery.net/C9yUr1FL21Q6JwfYYh2ozQ/146dbe33-0109-45ed-7750-1bbe25da2e00/public","liked":false,"likes":0,"lyrics":"[Verse]\nWhen the echoes are all we hear\nAnd the stars fade, far and near\nThe whispering winds finally clear\nA moment of truth, our greatest fear\n\n[Chorus]\nThe last song ever sung\nAs the earth breathes its final hum\nMelodies of hope unsprung\nAnd the world in a gentle strum","original_song_path":null,"plays":0,"prompt":"The last song ever sung on the planet earth","publishable":true,"published_at":null,"replaced_tags":{"alternative, acoustic, pop, indie pop, serene, emotional, reflective":{"tags":["twee pop","indie pop","jangle pop","neo-acoustic","pop","alternative rock","indie rock","rock","sunshine pop","female vocalist","longing","peaceful","nature","lush","introspective","melodic","summer","bittersweet","passionate","soft","uplifting","energetic","depressive"],"type":"tags"},"twee pop, indie pop, jangle pop, neo-acoustic, pop, alternative rock, indie rock, rock, sunshine pop, female vocalist, longing, peaceful, nature, lush, introspective, melodic, summer, bittersweet, passionate, soft, uplifting, energetic, depressive":{"tags":["female vocalist","rock","pop","indie pop","alternative rock","twee pop","melodic","uplifting"],"type":"tags"}},"song_path":"https://storage.googleapis.com/udio-artifacts-c33fe3ba-3ffe-471f-92c8-5dfef90b3ea3/samples/be90492af2494d349ab1fd7737867931/1/Final%2520Echoes.mp3","tags":["female vocalist","rock","pop","indie pop","alternative rock","twee pop","melodic","uplifting"],"title":"Final Echoes","user_id":"26bd7dea-8962-46b8-8a0c-27a9744dc44d","user_tags":[],"video_path":null},{"artist":"EYST HINE","artist_image":"https://lh3.googleusercontent.com/a/ACg8ocIV_Kca-ymVEPKytDhlIZHFCG73Z7GFqb02F91WOcy1tkGCTA=s96-c","attribution":"","audio_conditioning_type":null,"created_at":"2024-11-06T13:29:08.035421+00:00","description":"","disliked":false,"duration":131.114666666667,"error_code":null,"error_detail":null,"error_id":null,"error_type":null,"finished":true,"generation_id":"78decf9d-70de-45cb-bb13-18fb03800113","id":"632ac4b3-83e0-4e52-8d92-57268ffdf116","image_path":"https://imagedelivery.net/C9yUr1FL21Q6JwfYYh2ozQ/e1f79fad-dd62-4849-7a3a-d6644054b100/public","liked":false,"likes":0,"lyrics":"-verse 1-\nLast light fading on this spinning sphere\nVoices rising, final echoes we hear (yeah)\nDancing in the shadows, no tomorrow bound\nLife’s a melody with a chaotic sound\nWe’re the last survivors, singing it loud\nIn this urban jungle, crowds and clouds\n\n-chorus-\nSing it loud, can you feel the beat?\nFinal rhythm in the city streets\nManic hearts lost in the night\nDance with me till morning light\n\n-verse 2-\nConcrete jungle, only stars align (yeah)\nWe blaze a trail, shadows intertwine\nMood’s electric, hedonistic chase\nChasing dreams in this final race\nMadness colors every note and line\nEchoes of the last urban sunshine\n\n-chorus-\nSing it loud, can you feel the beat?\nFinal rhythm in the city streets\nManic hearts lost in the night\nDance with me till morning light\n\n-bridge-\nEarth's song ending with a wild embrace\nLove and chaos, one final space\nLet's make this count, the end is near\nIn our hearts, we hold this moment dear\n\n-chorus-\nSing it loud, can you feel the beat?\nFinal rhythm in the city streets\nManic hearts lost in the night\nDance with me till morning light","original_song_path":null,"plays":0,"prompt":"The last song ever sung on the planet earth","publishable":true,"published_at":null,"replaced_tags":{"electropop, synthpop, new rave, electroclash, dance-punk, alternative r&b, alternative dance, energetic, manic, rhythmic, melodic, urban, drugs, hedonistic, 2010s, male vocalist":{"tags":["male vocalist","rhythmic","energetic","dance-punk","urban","melodic","drugs","hedonistic","manic","alternative r&b","2010s"],"type":"tags"},"pop":{"tags":["electropop","synthpop","new rave","electroclash","dance-punk","alternative r&b","alternative dance","energetic","manic","rhythmic","melodic","urban","drugs","hedonistic","2010s","male vocalist"],"type":"tags"}},"song_path":"https://storage.googleapis.com/udio-artifacts-c33fe3ba-3ffe-471f-92c8-5dfef90b3ea3/samples/d21ef5e6d9c549a2a14117384f3743f1/1/Echoes%2520of%2520Tomorrow.mp3","tags":["male vocalist","rhythmic","energetic","dance-punk","urban","melodic","hedonistic","manic","alternative r&b","2010s"],"title":"Echoes of Tomorrow","user_id":"9c6984d5-4043-44d7-bef0-6c0a538fa576","user_tags":[],"video_path":null}]}
Previous
Generate music
Next
veo3-chat format
Built with