Discover/DeepAI API
live

DeepAI APIdeepai.org

Generate AI images from text prompts via the DeepAI API. Access 123+ art styles including anime, cyberpunk, and watercolor. Returns base64 image data and a direct URL.

Endpoint health
verified 10h ago
generate_image
list_styles
1/2 passing latest checkself-healing
Endpoints
2
Updated
26d ago

What is the DeepAI API?

The DeepAI API exposes 2 endpoints for generating AI images from text prompts and querying available art styles. The generate_image endpoint accepts a text prompt and returns 9 response fields including a direct image_url, image_base64 data, job_id, and pixel dimensions. A companion list_styles endpoint enumerates all 123 supported style slugs so you can pick the exact model before calling generation.

Try it
The text prompt describing the image to generate.
Art style/model slug. Use list_styles endpoint for the full set of 123 accepted slugs.
Image width in pixels (128-1536).
Image height in pixels (128-1536).
Quality preference. 'true' for higher quality (slower), 'false' for faster generation.
api.parse.bot/scraper/7ed530f5-9d88-47ce-93e2-9c2e596b7f77/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X POST 'https://api.parse.bot/scraper/7ed530f5-9d88-47ce-93e2-9c2e596b7f77/generate_image' \
  -H 'X-API-Key: $PARSE_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "text": "a beautiful sunset over mountains",
  "style": "text2img",
  "width": "512",
  "height": "512",
  "quality": "true"
}'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace deepai-org-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.deepai_image_generator_api import DeepAI, Style, ArtStyle, Quality

client = DeepAI()

# List all available art styles
for style in client.styles.list():
    print(style.slug, style.name)

# Generate an image with a specific style and quality setting
image = client.images.generate(
    text="a futuristic city skyline at sunset",
    style=ArtStyle.CYBERPUNK_GENERATOR,
    width=512,
    height=512,
    quality=Quality.HIGH,
)
print(image.job_id, image.image_url, image.image_size_bytes)
All endpoints · 2 totalmissing one? ·

Generate an AI image from a text prompt. Submits the prompt to DeepAI's text-to-image model and returns the generated image as base64-encoded data along with metadata including a direct URL. Supports 123 art styles and configurable dimensions (128-1536px). Generation typically takes 5-15 seconds depending on quality setting.

Input
ParamTypeDescription
textrequiredstringThe text prompt describing the image to generate.
stylestringArt style/model slug. Use list_styles endpoint for the full set of 123 accepted slugs.
widthintegerImage width in pixels (128-1536).
heightintegerImage height in pixels (128-1536).
qualitystringQuality preference. 'true' for higher quality (slower), 'false' for faster generation.
Response
{
  "type": "object",
  "fields": {
    "style": "string - The style/model slug used",
    "width": "integer - Image width in pixels",
    "height": "integer - Image height in pixels",
    "job_id": "string - Unique job identifier",
    "prompt": "string - The text prompt used",
    "image_url": "string - Direct URL to the generated image",
    "content_type": "string - MIME type (e.g. image/jpeg)",
    "image_base64": "string - Base64-encoded image data",
    "image_size_bytes": "integer - Size of the image in bytes"
  },
  "sample": {
    "data": {
      "style": "text2img",
      "width": 640,
      "height": 640,
      "job_id": "b1054d8e-b0d7-44f3-a9ac-fed3f059269b",
      "prompt": "a cute cat sitting on a windowsill",
      "image_url": "https://api.deepai.org/job-view-file/b1054d8e-b0d7-44f3-a9ac-fed3f059269b/outputs/output.jpg",
      "content_type": "image/jpeg",
      "image_base64": "/9j/4AAQSkZJRgABAQAAAQABAAD...",
      "image_size_bytes": 35662
    },
    "status": "success"
  }
}

About the DeepAI API

Image Generation

The generate_image endpoint accepts a text prompt (required) alongside optional parameters for style, width, height, and quality. Width and height each accept integer values between 128 and 1536 pixels. Setting quality to 'true' enables a higher-fidelity render at the cost of longer generation time. The response includes both image_url (a direct link to the hosted file) and image_base64 (the raw image data), so you can either redirect users to the URL or embed the image inline without an additional fetch. The content_type field confirms the MIME type (typically image/jpeg), and image_size_bytes tells you the file size before you decide how to handle it.

Art Style Selection

The list_styles endpoint returns a flat array of style objects, each with a slug (the value you pass as the style parameter to generate_image) and a human-readable name. The response also includes a total_styles integer confirming the full count. The list is static and does not paginate, so a single call retrieves all available styles. Style slugs cover a wide range of aesthetics — anime, cyberpunk, watercolor, pixel art, fantasy, and over 110 more.

Response Traceability

Every generate_image response echoes back the inputs that produced it: prompt, style, width, and height are all included alongside the generated output. The job_id field provides a unique identifier for each generation run, which is useful for logging or correlating requests in production pipelines.

Reliability & maintenanceVerified

The DeepAI API is a managed, monitored endpoint for deepai.org — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when deepai.org changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official deepai.org API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
10h ago
Latest check
1/2 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Generating placeholder artwork for game prototypes by specifying a style slug and prompt via generate_image
  • Building a style-preview UI that populates options from list_styles slugs and renders sample images on selection
  • Automating social media visual content by piping product descriptions as prompts and storing the returned image_url
  • Creating varied training data for vision models by iterating across all 123 style slugs with a fixed prompt
  • Producing on-demand illustrations for blog posts by passing article summaries as prompts and embedding image_base64 output
  • Prototyping custom avatar generators by combining configurable width/height dimensions with character-description prompts
  • Logging and auditing AI image jobs in production using the job_id and image_size_bytes fields returned per request
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does DeepAI have an official developer API?+
Yes. DeepAI publishes an official API documented at https://deepai.org/docs. The Parse API surfaces the text-to-image generation and style-listing functionality from that platform.
What does `generate_image` return beyond the image itself?+
The response includes 9 fields: image_url, image_base64, content_type, image_size_bytes, job_id, prompt, style, width, and height. You get both a hosted URL and raw base64 data in the same response, so no second request is needed to retrieve the file.
Does the API support video or animation generation?+
Not currently. The API covers still-image generation from text prompts and style enumeration. You can fork it on Parse and revise to add endpoints targeting other DeepAI capabilities if your use case requires them.
Can I retrieve a previously generated image by its `job_id`?+
The current endpoints do not include a job-lookup or history endpoint. generate_image returns image_url and image_base64 at generation time, and job_id is provided for your own logging. You can fork the API on Parse and revise it to add a retrieval endpoint if persistent job lookup is needed.
Are there constraints on image dimensions?+
Yes. The width and height parameters each accept integers between 128 and 1536 pixels. Values outside that range are not accepted. Both dimensions are optional; omitting them lets the model use its default dimensions.
Page content last updated . Spec covers 2 endpoints from deepai.org.
Related APIs in Developer ToolsSee all →
craiyon.com API
Generate custom AI images from text descriptions and search through a library of previously created AI-generated images. Get your results instantly as ready-to-use image files.
gamma.app API
Create AI-powered presentations, documents, and webpages from scratch or templates, check generation progress, download completed exports, and manage workspace settings like themes and folders. Access everything through Gamma.app's platform with a valid API key.
icons8.com API
Search for millions of icons across different visual styles like colorful, pattern-based, and minimalist designs to find the perfect icon for your project. Discover and retrieve icons in your preferred style to enhance your designs and applications.
riseart.com API
Search and explore artworks by title, artist, or style, then view detailed information and high-quality images of paintings and artist portfolios from Rise Art's curated collection. Discover new artists and browse their complete galleries to find pieces that match your taste.
toolify.ai API
Search and browse premium .ai domain names available on the Toolify marketplace, filtering by keywords, categories, prices, and domain attributes to find the perfect domain for your project. Explore curated domain listings organized by category to discover valuable .ai domains suited to your needs.
artificialanalysis.ai API
Compare and rank LLM models and providers across performance benchmarks, then dive into detailed specifications for any model to find the best fit for your needs. Discover performance metrics for specialized AI systems handling speech, images, and video, plus benchmark data for different hardware configurations.
fineartamerica.com API
Search and discover millions of artworks by style, medium, and artist, then browse detailed artist profiles and portfolios to connect directly with creators. Reach out to artists through integrated contact forms to inquire about commissions, purchases, or collaborations.
lmarena.ai API
lmarena.ai API