NVIDIA NIM · Arazzo Workflow

NVIDIA NIM Voice Assistant Loop

Version 1.0.0

Transcribe an audio clip with Riva ASR, answer the transcript with an LLM, then synthesize the reply with Riva TTS.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Artificial IntelligenceInferenceMicroservicesLLMFoundation ModelsGPUKubernetesNVIDIAOpenAI-CompatibleArazzoWorkflows

Provider

nvidia-nim

Workflows

voice-assistant-loop
Speech-to-text, chat answer, then text-to-speech in a single loop.
Transcribes an audio clip, generates a chat answer to the transcript, and synthesizes the answer back into audio.
3 steps inputs: apiKey, asrModel, audioFile, chatModel, ttsModel, voice outputs: audio, replyText, transcript
1
transcribeAudio
Transcribe the uploaded audio clip into text using a Riva ASR NIM via a multipart/form-data upload.
2
answerTranscript
Send the transcript to a chat model to generate a spoken-style reply.
3
synthesizeReply
Synthesize the chat reply back into audio bytes using a Riva TTS NIM.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: NVIDIA NIM Voice Assistant Loop
  summary: Transcribe an audio clip with Riva ASR, answer the transcript with an LLM, then synthesize the reply with Riva TTS.
  description: >-
    A full speech-to-speech assistant loop built from NVIDIA Riva and LLM NIMs.
    An uploaded audio clip is transcribed to text by an ASR NIM (Parakeet /
    Canary), the transcript is answered by an OpenAI-compatible chat model, and
    the textual answer is synthesized back to audio by a TTS NIM (Magpie-TTS /
    FastPitch). The transcription step uses multipart/form-data per the spec.
    Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: asrApi
  url: ../openapi/nvidia-nim-asr-api-openapi.yml
  type: openapi
- name: chatApi
  url: ../openapi/nvidia-nim-chat-api-openapi.yml
  type: openapi
- name: ttsApi
  url: ../openapi/nvidia-nim-tts-api-openapi.yml
  type: openapi
workflows:
- workflowId: voice-assistant-loop
  summary: Speech-to-text, chat answer, then text-to-speech in a single loop.
  description: >-
    Transcribes an audio clip, generates a chat answer to the transcript, and
    synthesizes the answer back into audio.
  inputs:
    type: object
    required:
    - apiKey
    - audioFile
    properties:
      apiKey:
        type: string
        description: NVIDIA developer API key (nvapi-...) sent as a Bearer token.
      audioFile:
        type: string
        format: binary
        description: WAV/FLAC/MP3 audio clip to transcribe.
      asrModel:
        type: string
        description: Riva ASR model id.
        default: nvidia/parakeet-ctc-1.1b-asr
      chatModel:
        type: string
        description: LLM model id used to answer the transcript.
        default: meta/llama-3.3-70b-instruct
      ttsModel:
        type: string
        description: Riva TTS model id.
        default: nvidia/magpie-tts
      voice:
        type: string
        description: TTS voice identifier.
        default: en-US.Female-1
  steps:
  - stepId: transcribeAudio
    description: >-
      Transcribe the uploaded audio clip into text using a Riva ASR NIM via a
      multipart/form-data upload.
    operationId: createTranscription
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    requestBody:
      contentType: multipart/form-data
      payload:
        file: $inputs.audioFile
        model: $inputs.asrModel
        language: en-US
        response_format: json
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      transcript: $response.body#/text
      detectedLanguage: $response.body#/language
  - stepId: answerTranscript
    description: >-
      Send the transcript to a chat model to generate a spoken-style reply.
    operationId: createChatCompletion
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        model: $inputs.chatModel
        messages:
        - role: system
          content: You are a concise voice assistant. Reply in one or two short spoken sentences.
        - role: user
          content: $steps.transcribeAudio.outputs.transcript
        max_tokens: 256
        temperature: 0.4
        stream: false
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      replyText: $response.body#/choices/0/message/content
      totalTokens: $response.body#/usage/total_tokens
  - stepId: synthesizeReply
    description: >-
      Synthesize the chat reply back into audio bytes using a Riva TTS NIM.
    operationId: createSpeech
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        model: $inputs.ttsModel
        input: $steps.answerTranscript.outputs.replyText
        voice: $inputs.voice
        response_format: mp3
        speed: 1.0
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      audio: $response.body
  outputs:
    transcript: $steps.transcribeAudio.outputs.transcript
    replyText: $steps.answerTranscript.outputs.replyText
    audio: $steps.synthesizeReply.outputs.audio

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/nvidia-nim-voice-assistant-loop-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.