API Labz
  1. AI Agents
API Labz
  • AI Agents
    • Perplexity Search
      POST
    • Image Editor
      POST
    • Illustration Generator
      POST
    • Logo Generator
      POST
    • Image Generator
      POST
    • Flow Generator
      POST
    • Image Extractor
      POST
    • Google Deep Research
      POST
    • Post Generator
      POST
    • Random Data
      POST
    • Expense Tracker
      POST
    • ID Extractor
      POST
    • File Converter
      POST
    • Data Pipeline
      POST
    • Business Analyst
      POST
    • Deep Research Graph
      POST
    • API Labz LLM
      POST
    • Grok LLM
      POST
  • Business
    • Email Validator
      POST
    • Phone Validator
      POST
    • IBAN Validator
      POST
    • VAT Validator
      POST
    • JSON to CSV
      POST
    • XML to JSON
      POST
    • CSV to JSON
      POST
    • Downtime Monitor
      POST
    • Google Search
      POST
    • Domain Lookup
      POST
    • LinkedIn Search
      POST
    • Crunchbase Search
      POST
    • Job Postings Search
      POST
    • Currency Converter
      POST
    • Invoice Generator
      POST
    • Company Lookup
      POST
    • Company Search
      POST
    • Gmail
      POST
    • Domain WHOIS Lookup
      POST
    • IP/Domain Lookup
      POST
  • Utilities
    • PDF Merger
    • Language Translator
    • QR Code Generator
    • Base64
    • Password Generator
    • PDF Watermarker
    • UUID Generator
  1. AI Agents

Image Generator

POST
https://hub.apilabz.com{{HOST}}/module/128
AI Agents
Generate high-quality images from text descriptions using AI
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/module/128' \
--header 'Content-Type: application/json' \
--data-raw '{
    "instruction": "Generate italian cuisine image"
}'
Response Response Example
Success
{"message":"Module executed successfully","response":{"imageUrl":"https://storage.googleapis.com/unlimited-apis.appspot.com/user_default/generated_images/img_1742893620448.png?GoogleAccessId=firebase-adminsdk-ju8t5%40unlimited-apis.iam.gserviceaccount.com&Expires=1745485620&Signature=AttYamaw54%2FAUY8Ozcd3b8rYVoIav2j5JRhoT9TZyAK20GQPb8W2IS%2FnpBZ2Xg0LO4IZ8XJmlH56lXEV5YcAy47zWglEx0RIxmB27CyDJIFRG%2Bj4FbEcBHxj6qYgqYRi8KM86ZwtDwUICHu7g2tAIs8ctjkFGDL7j%2B%2BhSRtZLQ5zNRfZ0weOBLHCokeazgkdySOgXtTOECzr3%2F0pLQBCyRB76CYf2telso0r44N2rV6%2BQzbruovoDhOyJVC4L6GU5T%2Fn6sUUEQK7KOQ3GGH1gurb2VK0hZG2kNTXN5fEN1uBLaMj19IjCIPtrLQVcaDj155TeiMs%2FEMunhnArxlZaA%3D%3D"}}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
instruction
string 
required
The text instruction/prompt to generate the image
width
integer 
optional
Width of the generated image
>= 32<= 1472
Default:
1024
height
integer 
optional
Height of the generated image
>= 32<= 1472
Default:
1024
Examples

Responses

🟢200OK
application/json
Generated image information
Body
message
string 
required
response
object 
required
imageUrl
string 
required
Modified at 2025-04-05 09:48:51
Previous
Logo Generator
Next
Flow Generator
Built with