Skip to content
Bitmesh
Get your key
All models

HiDream-I1-Dev

Image model from HiDream-ai, good for image Generation.

Price

Per image
0.009credits per 1MP image
Images per credit
111.11at 1MP

Details

Provider
HiDream-ai
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' => 'hidream-ai/hidream-i1-dev',
    '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.