MyShell
Ctrlk
  • About MyShell
  • Explore AI Agents
  • Create AI Agents
    • Classic Mode
    • Pro Config Mode
      • Core Concepts
      • Tutorial
      • Basic
      • Advanced
      • Tools
      • Example
      • API Reference
        • Atomic State
        • Transition
        • Automata
        • Context
        • Module
          • AnyWidget Module
            • Prompt Widget
            • LLM Widget
            • TTS Widget
            • Code Runner Widget
            • Melo TTS
            • Age Transformation
            • ChatImg
            • GIF Generation
            • Music Generation
          • LLM Module
          • LLM Function Module
          • TTS Module
          • Google Search Module
        • Widgets
      • FAQs
      • Changelog
    • ShellAgent Mode
  • Shell Launchpad
  • Tokenomics
  • Open-source AI Framework/SDK
  • Links
Powered by GitBook
On this page
  1. Create AI Agents
  2. Pro Config Mode
  3. API Reference
  4. Module
  5. AnyWidget Module

Music Generation

Widget

LogoMusic Generation | MyShell Workshopapp.myshell.ai

Config

Music Generation

Example

PreviousGIF GenerationNextLLM Module

Last updated 1 year ago

  • Widget
  • Config
  • Example
{
  "id": "test",
  "initial": "home_state",
  "states": {
    "home_state": {
      "inputs": {
        "prompt_a": {
          "type": "text",
          "user_input": true
        },
        "prompt_b": {
          "type": "text",
          "user_input": true
        }
      },
      "tasks": [
        {
          "name": "any_module_test_task",
          "module_type": "AnyWidgetModule",
          "module_config": {
            "widget_id": "1743838636299784192",
            "output_name": "result",
            "prompt_a": "{{prompt_a}}",
            "denoising": 0.75,
            "prompt_b": "{{prompt_b}}",
            "alpha": 0.5,
            "num_inference_steps": 50,
            "seed_image_id": "vibes"
          }
        }
      ],
      "render": {
        "text": "Result",
        "audio": "{{result.audio}}",
        "buttons": [
          {
            "content": "Generate Again",
            "description": "",
            "on_click": "generate"
          }
        ]
      },
      "transitions": {
        "generate": "home_state"
      }
    }
  }
}