@@ -145,6 +145,61 @@ export MODELSLAB_API_KEY="your-api-key"
145145export MODELSLAB_TOKEN=" your-bearer-token"
146146```
147147
148+ ## Model Selection
149+
150+ Every generation command accepts a ` --model ` flag to specify which AI model to use. With 50,000+ models available, discovering the right one is a key workflow.
151+
152+ ### Discovering Models
153+
154+ ``` bash
155+ # Search by name
156+ modelslab models search --search " flux"
157+
158+ # Filter by feature category
159+ modelslab models search --feature imagen # Image generation models
160+ modelslab models search --feature video_fusion # Video generation models
161+ modelslab models search --feature audio_gen # Audio/voice models
162+ modelslab models search --feature llmaster # LLM/chat models
163+ modelslab models search --feature threed # 3D generation models
164+
165+ # Filter by base model architecture
166+ modelslab models search --base-model sdxl
167+ modelslab models search --base-model flux
168+
169+ # Get detailed info about a specific model
170+ modelslab models detail --id flux
171+ modelslab models detail --id cogvideox
172+ ```
173+
174+ ### Popular Models
175+
176+ | Model ID | Category | Description |
177+ | ----------| ----------| -------------|
178+ | ` flux ` | Image | Flux Dev — fast, high-quality images |
179+ | ` midjourney ` | Image | MidJourney-style artistic images |
180+ | ` sdxl ` | Image | Stable Diffusion XL base |
181+ | ` seedance-t2v ` | Video | Seedance text-to-video |
182+ | ` seedance-i2v ` | Video | Seedance image-to-video |
183+ | ` cogvideox ` | Video | CogVideoX video generation |
184+ | ` eleven_multilingual_v2 ` | Audio | ElevenLabs multilingual TTS |
185+ | ` eleven_sound_effect ` | Audio | ElevenLabs sound effects |
186+ | ` scribe_v1 ` | Audio | ElevenLabs speech-to-text |
187+ | ` meta-llama-3-8B-instruct ` | LLM | Meta Llama 3 8B chat |
188+ | ` deepseek-ai-DeepSeek-R1-Distill-Llama-70B ` | LLM | DeepSeek R1 reasoning |
189+ | ` gemini-2.0-flash-001 ` | LLM | Google Gemini 2.0 Flash |
190+
191+ ### Setting a Default Model
192+
193+ ``` bash
194+ # Set default model for image generation
195+ modelslab config set generation.default_model flux
196+
197+ # Override per-command with --model
198+ modelslab generate image --prompt " sunset" --model midjourney
199+ ```
200+
201+ Browse all models: https://modelslab.com/models
202+
148203## Output Modes
149204
150205``` bash
@@ -161,26 +216,32 @@ modelslab models search --search "flux" --output json --jq '.[].model_id'
161216## Generation
162217
163218``` bash
164- # Text to image
165- modelslab generate image --prompt " sunset" --model sdxl
219+ # Text to image (specify model with --model)
220+ modelslab generate image --prompt " sunset over mountains " --model flux
166221
167222# Image to image
168- modelslab generate image-to-image --prompt " oil painting" --init-image https://...
223+ modelslab generate image-to-image --prompt " oil painting style " --model midjourney --init-image https://...
169224
170225# Text to video
171- modelslab generate video --prompt " ocean waves"
226+ modelslab generate video --prompt " ocean waves crashing" --model seedance-t2v
227+
228+ # Image to video
229+ modelslab generate video --prompt " slowly zooming in" --model seedance-i2v --init-image https://...
172230
173231# Text to speech
174232modelslab generate tts --text " Hello world" --language en
175233
176- # Chat completion
177- modelslab generate chat --message " Explain quantum computing" --model gpt-4
234+ # Chat completion (OpenAI-compatible)
235+ modelslab generate chat --message " Explain quantum computing" --model meta-llama-3-8B-instruct
236+
237+ # Music generation
238+ modelslab generate music --prompt " upbeat electronic music"
178239
179240# Check generation status
180241modelslab generate fetch --id 12345 --type image
181242
182243# Skip polling (async)
183- modelslab generate image --prompt " sunset" --no-wait
244+ modelslab generate image --prompt " sunset" --model flux -- no-wait
184245```
185246
186247## MCP Server Mode
0 commit comments