Random Image Generator

Generate Random Images Online, Click "Generate"


// Bruzu API key get yours at https://bruzu.com
$apiKey = "BRUZU-YOURKEY";
// Get random quote text
$quote= json_decode(file_get_contents("http://api.quotable.io/random"),true);

$params = array(            
    "backgroundColor"=> "black", 
    "a.text"=>  $quote['content'],
    "a.fontFamily"=>  "Poppins", 
    "a.shadow"=>  "1px 1px 1px black",
    "a.fontWeight"=> 800,        

$apiLink[]= "https://img.bruzu.com/?".http_build_query($params); 

$png = file_get_contents($apiLink."&ak=".$apiKey);
$imgLink = 'data:image/png;base64,' . base64_encode($png);
// You can use this link into your HTML code 
// <img src="<?=$imgLink?>" >

Random Picture Generator Generate Random Picture, Click `Generate` button above
How to get unsplash random image? You can get random image from unsplash using this link https://source.unsplash.com/500x500/?keyword
Random Image API You can use Bruzu Image generation API to generate random images
Image generator with text? Yes, you can use any text, font, color or images.
Image generator with size? Yes, you can set any size.
How to make a random image generator? Use the PHP code given above.