Skip to content
Bitmesh
Get your key
All models

Google Imagen 4.0 Ultra

Image model from Google, good for image Generation.

Price

Per image
0.12credits per 1MP image
Images per credit
8.33at 1MP

Details

Provider
Google
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' => 'google/imagen-4.0-ultra',
    '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.