How per Use Qwen3.5 27B Opus-Distilled Derestricted API
-
Ottieni una chiave API: crea una chiave nella dashboard Muapi.
-
Intramite un prompt: Invia POST prompt (plus optional system_prompt e max_tokens, up per 32768) per /api/v1/qwen-3-5-27b-opus-distilled-derestricted. Provide an optional public image_url per include an image with your prompt.
curl -X POST https://api.muapi.ai/api/v1/qwen-3-5-27b-opus-distilled-derestricted \
-H "x-api-key: $MUAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Explain how attention works in transformers.", "image_url": "https://example.com/photo.jpg"}'
- Esegui il polling o attiva lo streaming: Poll
GET /api/v1/predictions/{request_id}/result until status è completed, or stream tokens live da /api/v1/qwen-3-5-27b-opus-distilled-derestricted/stream.
curl -X POST https://api.muapi.ai/api/v1/qwen-3-5-27b-opus-distilled-derestricted/stream \
-H "x-api-key: $MUAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Explain how attention works in transformers.", "image_url": "https://example.com/photo.jpg"}'
- Read the result: The generated text è returned in
outputs. Usage è billed on actual token counts.