Skip to content
Bitmesh
Get your key
All models

Dreamshaper

Image model from Lykon, good for image Generation.

Price

Per image
0.0012credits per 1MP image
Images per credit
833.33at 1MP

Details

Provider
Lykon
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' => 'lykon/dreamshaper',
    '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.