{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "www-aibeats-fun-api-x402-music-generate",
  "title": "AIBeats \u00b7 Generate AI music with artwork",
  "url": "https://www.aibeats.fun/api/x402/music/generate",
  "category": "media",
  "summary": "Create full music tracks with AI-generated lyrics, audio, and optional FLUX album artwork.",
  "seo": {
    "title": "AIBeats x402 API: AI music generation with FLUX artwork",
    "description": "Generate complete AI music tracks with lyrics and custom artwork via AIBeats x402. Uses MiniMax, GPT-4, and FLUX models. Pay 0.15 USDC on Base."
  },
  "use_cases": [
    "Generate background music for content creation",
    "Create custom tracks with specified lyrics themes",
    "Produce album artwork alongside music generation",
    "Batch generate music variations for A/B testing"
  ],
  "ideal_buyer": "Content creators and media agents needing automated music and artwork generation at scale.",
  "example_prompt": "Generate a lo-fi hip hop track about rainy city nights with matching album cover",
  "example_request_body": {
    "prompt": "lo-fi hip hop about rainy city nights",
    "enhancePrompt": true,
    "generateArtwork": true
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "normal",
    "ratio": 1.875,
    "median_category_atomic": 80000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xf6e224ea1e21f08c1fbb1008d88a9dde42e28422",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "150000",
      "max_timeout_seconds": 120,
      "description": "Generate complete AI music track with lyrics and artwork using MiniMax, GPT-4, and FLUX AI models",
      "verified": false,
      "hints": {
        "input": {
          "type": "object",
          "method": "POST",
          "required": [
            "prompt"
          ],
          "properties": {
            "lyrics": {
              "type": "string",
              "example": "",
              "maxLength": 3000,
              "description": "Optional custom lyrics. If empty or short, AI will generate complete lyrics based on prompt"
            },
            "prompt": {
              "type": "string",
              "example": "upbeat electronic dance music with energetic synths",
              "maxLength": 300,
              "minLength": 10,
              "description": "Music style and genre description (e.g., 'upbeat pop song about friendship', 'dark gothic metal', 'lo-fi hip hop beats')"
            },
            "enhancePrompt": {
              "type": "boolean",
              "default": true,
              "description": "Whether to enhance the prompt with AI for better music generation results"
            },
            "generateArtwork": {
              "type": "boolean",
              "default": true,
              "description": "Whether to generate custom album artwork using FLUX AI (+$0.05 included in price)"
            }
          },
          "discoverable": true
        },
        "output": {
          "type": "object",
          "properties": {
            "usage": {
              "type": "object",
              "properties": {
                "totalCost": {
                  "type": "number",
                  "description": "Total cost in USD (0.15)"
                },
                "paymentMethod": {
                  "type": "string",
                  "description": "Payment method used (x402_cdp)"
                }
              }
            },
            "result": {
              "type": "object",
              "properties": {
                "aiTitle": {
                  "type": "string",
                  "description": "AI-generated song title"
                },
                "artwork": {
                  "type": "object",
                  "properties": {
                    "prompt": {
                      "type": "string",
                      "description": "AI prompt used for artwork generation"
                    },
                    "fileName": {
                      "type": "string"
                    },
                    "imageUrl": {
                      "type": "string",
                      "description": "Direct download URL for album artwork PNG file"
                    }
                  },
                  "description": "Generated album artwork (if generateArtwork=true)"
                },
                "audioUrl": {
                  "type": "string",
                  "description": "Direct download URL for the generated MP3 audio file"
                },
                "fileName": {
                  "type": "string",
                  "description": "Generated filename for the audio track"
                },
                "metadata": {
                  "type": "object",
                  "properties": {
                    "format": {
                      "type": "string",
                      "description": "Audio format (mp3)"
                    },
                    "bitrate": {
                      "type": "number",
                      "description": "Audio bitrate (256 kbps)"
                    },
                    "duration": {
                      "type": "number",
                      "description": "Track duration in milliseconds"
                    },
                    "fileSize": {
                      "type": "number",
                      "description": "Audio file size in bytes"
                    },
                    "sampleRate": {
                      "type": "number",
                      "description": "Audio sample rate (44100 Hz)"
                    }
                  }
                },
                "finalLyrics": {
                  "type": "string",
                  "description": "Complete song lyrics used in generation with structure tags"
                }
              }
            },
            "success": {
              "type": "boolean"
            }
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "www-aibeats-fun",
    "host": "www.aibeats.fun",
    "title": "aibeats.fun",
    "description": "Host at aibeats.fun. No service description available from the origin.",
    "url": "https://www.aibeats.fun"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/www-aibeats-fun-api-x402-music-generate",
    "url": "https://x402all.com/resource/www-aibeats-fun-api-x402-music-generate",
    "name": "AIBeats \u00b7 Generate AI music with artwork",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/www-aibeats-fun-api-x402-music-generate",
      "@type": "Offer",
      "price": "0.15",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.150000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://www.aibeats.fun/api/x402/music/generate",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/www-aibeats-fun",
      "url": "https://www.aibeats.fun",
      "name": "aibeats.fun",
      "@type": "Organization"
    },
    "identifier": "www-aibeats-fun-api-x402-music-generate",
    "description": "Generate complete AI music tracks with lyrics and custom artwork via AIBeats x402. Uses MiniMax, GPT-4, and FLUX models. Pay 0.15 USDC on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=www-aibeats-fun-api-x402-music-generate",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "media"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=www-aibeats-fun-api-x402-music-generate"
}
