Skip to content
Bitmesh
Get your key
All models

Stable Diffusion 3

Image model from stabilityai, good for image Generation.

Price

Per image
0.0038credits per 1MP image
Images per credit
263.16at 1MP

Details

Provider
stabilityai
Type
Image
Good for
Image Generation
Reads
Text
Returns
Image

Prices are in credits, drawn from one prepaid balance. See how credits work

Call it

use BitmeshAI\BitmeshClient;

// Optional third argument: timeout in seconds (default 30)
$client = new BitmeshClient('YOUR_CONSUMER_KEY', 'YOUR_CONSUMER_SECRET');

$response = $client->image([
    'prompt' => 'Flying car',
    'model' => 'stabilityai/stable-diffusion-3-medium',
    'width' => 1024,
    'height' => 1024,
]);

$url = $response['data'][0]['url'] ?? null;

The SDK signs the request with your key and secret. Installing it is covered in the documentation.