AudioCraft Music

Generate music and audio with Meta's AudioCraft (MusicGen).

circle-check

Renting on CLORE.AI

  1. Filter by GPU type, VRAM, and price

  2. Choose On-Demand (fixed rate) or Spot (bid price)

  3. Configure your order:

    • Select Docker image

    • Set ports (TCP for SSH, HTTP for web UIs)

    • Add environment variables if needed

    • Enter startup command

  4. Select payment: CLORE, BTC, or USDT/USDC

  5. Create order and wait for deployment

Access Your Server

  • Find connection details in My Orders

  • Web interfaces: Use the HTTP port URL

  • SSH: ssh -p <port> root@<proxy-address>

What is AudioCraft?

AudioCraft includes:

  • MusicGen - Text-to-music generation

  • AudioGen - Sound effects generation

  • EnCodec - Audio compression

  • MAGNeT - Faster generation

Model Sizes

Model
VRAM
Quality
Speed

small

4GB

Good

Fast

medium

8GB

Great

Medium

large

16GB

Best

Slow

melody

8GB

Great + melody

Medium

Quick Deploy

Docker Image:

Ports:

Command:

Accessing Your Service

After deployment, find your http_pub URL in My Orders:

  1. Go to My Orders page

  2. Click on your order

  3. Find the http_pub URL (e.g., abc123.clorecloud.net)

Use https://YOUR_HTTP_PUB_URL instead of localhost in examples below.

Installation

MusicGen: Text-to-Music

Basic Generation

Multiple Prompts

Melody Conditioning

Use a melody as reference:

Continuation

Continue from existing audio:

AudioGen: Sound Effects

Generation Parameters

Parameter Effects

Parameter
Low Value
High Value

temperature

Conservative

Creative

top_k

More focused

More variety

cfg_coef

Loose interpretation

Strict to prompt

Batch Processing

Streaming Generation

Stereo Generation

API Server

Prompt Engineering

Effective Prompts

Bad Prompts

Post-Processing

Combine Clips

Add Effects

Memory Optimization

Performance

Model
GPU
30s Generation

small

RTX 3090

~10s

medium

RTX 3090

~25s

large

RTX 4090

~45s

melody

RTX 3090

~30s

Comparison

Feature
MusicGen
Stable Audio
Riffusion

Quality

Great

Great

Good

Length

30s

90s

Loop

Melody Input

Yes

No

No

Open Source

Yes

No

Yes

Troubleshooting

Out of Memory

  • Use smaller model (small instead of large)

  • Reduce duration

  • Clear cache: torch.cuda.empty_cache()

Poor Quality

  • Use more specific prompts

  • Try medium or large model

  • Adjust temperature (0.8-1.2)

Repetitive Output

  • Increase top_k

  • Lower cfg_coef

  • Try different prompts

Cost Estimate

Typical CLORE.AI marketplace rates (as of 2024):

GPU
Hourly Rate
Daily Rate
4-Hour Session

RTX 3060

~$0.03

~$0.70

~$0.12

RTX 3090

~$0.06

~$1.50

~$0.25

RTX 4090

~$0.10

~$2.30

~$0.40

A100 40GB

~$0.17

~$4.00

~$0.70

A100 80GB

~$0.25

~$6.00

~$1.00

Prices vary by provider and demand. Check CLORE.AI Marketplacearrow-up-right for current rates.

Save money:

  • Use Spot market for flexible workloads (often 30-50% cheaper)

  • Pay with CLORE tokens

  • Compare prices across different providers

Next Steps

Last updated

Was this helpful?