mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
Update block docs for: ai_music_generator.md
This commit is contained in:
47
docs/content/platform/blocks/update/ai_music_generator.md
Normal file
47
docs/content/platform/blocks/update/ai_music_generator.md
Normal file
@@ -0,0 +1,47 @@
|
||||
|
||||
## AI Music Generator
|
||||
|
||||
### What it is
|
||||
A powerful tool that generates music using Meta's MusicGen model through the Replicate platform. This block transforms text descriptions into original musical compositions.
|
||||
|
||||
### What it does
|
||||
Creates unique pieces of music based on text descriptions, allowing users to specify various parameters that control the generation process and output format of the audio.
|
||||
|
||||
### How it works
|
||||
1. Takes a text prompt and various musical parameters as input
|
||||
2. Connects to the Replicate platform using provided credentials
|
||||
3. Processes the request using Meta's MusicGen model
|
||||
4. Generates an audio file based on the specifications
|
||||
5. Returns a URL where the generated audio can be accessed
|
||||
6. Includes automatic retry mechanisms if the generation fails
|
||||
|
||||
### Inputs
|
||||
- Credentials: Replicate API key required for accessing the service
|
||||
- Prompt: Text description of the music you want to generate (e.g., "An upbeat electronic dance track with heavy bass")
|
||||
- Model Version: Choice of three models (stereo-large, melody-large, or large)
|
||||
- Duration: Length of the generated audio in seconds
|
||||
- Temperature: Controls creativity level (higher values = more diverse output)
|
||||
- Top K: Controls sampling diversity by limiting to the most likely options
|
||||
- Top P: Alternative sampling method using cumulative probability
|
||||
- Classifier Free Guidance: Controls how closely the output follows the input description
|
||||
- Output Format: Choice between WAV or MP3 format
|
||||
- Normalization Strategy: Method for normalizing the audio (loudness, clip, peak, or rms)
|
||||
|
||||
### Outputs
|
||||
- Result: URL pointing to the generated audio file
|
||||
- Error: Description of any issues that occurred during generation
|
||||
|
||||
### Possible use cases
|
||||
- Creating background music for videos or presentations
|
||||
- Generating custom sound effects for games or applications
|
||||
- Producing demo tracks for musical projects
|
||||
- Creating ambient music for installations or events
|
||||
- Prototyping musical ideas quickly
|
||||
- Generating unique soundtracks for podcasts or short films
|
||||
|
||||
### Notes
|
||||
- The block includes automatic retry functionality (up to 3 attempts) if generation fails
|
||||
- Default settings are optimized for general use but can be customized for specific needs
|
||||
- The stereo-large model is set as the default for optimal quality
|
||||
- Generation time may vary based on the requested duration and complexity of the prompt
|
||||
|
||||
Reference in New Issue
Block a user