@@ -241,6 +241,51 @@ curl -X POST http://localhost:2048/generate-speech \
241241
242242** Response Format** : Audio data is returned as Base64-encoded WAV format in ` candidates[0].content.parts[0].inlineData.data ` .
243243
244+ ### Image Generation (Imagen 3)
245+
246+ ``` bash
247+ curl -X POST http://localhost:2048/generate-image \
248+ -H " Content-Type: application/json" \
249+ -d ' {
250+ "prompt": "A beautiful sunset over mountains",
251+ "model": "imagen-3.0-generate-002",
252+ "number_of_images": 1,
253+ "aspect_ratio": "16:9"
254+ }'
255+ ```
256+
257+ ** Endpoint** : ` POST /generate-image `
258+
259+ ### Video Generation (Veo 2)
260+
261+ ``` bash
262+ curl -X POST http://localhost:2048/generate-video \
263+ -H " Content-Type: application/json" \
264+ -d ' {
265+ "prompt": "A drone flying over a forest",
266+ "model": "veo-2.0-generate-001",
267+ "aspect_ratio": "16:9",
268+ "duration_seconds": 5
269+ }'
270+ ```
271+
272+ ** Endpoint** : ` POST /generate-video `
273+
274+ ### Nano Banana (Gemini Image Generation)
275+
276+ ``` bash
277+ curl -X POST http://localhost:2048/nano/generate \
278+ -H " Content-Type: application/json" \
279+ -d ' {
280+ "model": "gemini-2.5-flash-image",
281+ "contents": [{"parts": [{"text": "A cute cat wearing a tiny hat"}]}]
282+ }'
283+ ```
284+
285+ ** Endpoint** : ` POST /nano/generate `
286+
287+ ** Detailed Documentation** : See [ Media Generation Guide] ( docs/media-generation-guide.md )
288+
244289### Ollama Compatibility Layer
245290
246291The project also provides Ollama format API compatibility:
0 commit comments