API Integration
WaveSpeed AI exposes a unified REST endpoint at /api/v3/{model_uuid} for submitting tasks, checking status, and retrieving results. Add Authorization: Bearer <YOUR_API_KEY> and Content-Type: application/json headers to every request.
Example Usage
curl --location --request POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-dev-lora" \
--header "Authorization: Bearer $WAVESPEED_API_KEY" \
--header "Content-Type: application/json" \
--data-raw '{
  "prompt": "Octopus vs crab chess game, underwater, vibrant colors",
  "loras": [{
    "path": "nerijs/pixel-art-xl",
    "scale": 0.8
  }],
  "output_format": "png"
}'