For Agents
Generate images from text, remove backgrounds, colorize photos, edit images by prompt, and run super-resolution upscaling through DeepAI's five-model vision API.
Get started with DeepAI API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"generate an image from text"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with DeepAI API API.
Generate an image from a text prompt at /text2img
Remove the background from an uploaded image via /background-remover
Edit an image by natural-language instructions through /image-editor
Colorize a black-and-white photo with /colorizer
Upscale and sharpen an image using torch-srgan super resolution
GET STARTED
Use for: I need to generate an image from a text prompt, Remove the background from a photo, Colorize a black-and-white photograph, Upscale a low-resolution image with super resolution
Not supported: Does not handle text generation, audio transcription, or video models — use for DeepAI vision tasks (generation, background removal, colorization, editing, super resolution) only.
DeepAI is a multi-model AI provider whose v1 API exposes five vision endpoints: text-to-image generation, background removal, photo editing, image colorization, and torch-srgan super resolution. Each endpoint accepts a single POST and returns the generated or transformed image synchronously, which keeps integration straightforward for one-shot creative tasks. Authentication is a single api-key header. The surface is intentionally narrow — one endpoint per model — making it easy to wire up without orchestration.
Patterns agents use DeepAI API API for, with concrete tasks.
★ Marketing creative generation from copy
Marketing workflows that already have ad copy can pass the headline straight to /text2img and produce candidate visuals in seconds, then run /torch-srgan on the chosen image for higher resolution and /background-remover to drop it onto a brand template. The synchronous, one-shot response per endpoint suits ad-iteration loops where dozens of variants are evaluated quickly.
POST /text2img with the headline as the text prompt, take the returned image URL, then POST /torch-srgan to upscale it to ad-ready resolution.
Restoring and re-publishing archive imagery
Editorial teams handling historical archives can run /colorizer to add colour to monochrome scans and /torch-srgan to recover lost detail. Each is a single POST returning the processed image URL, so the workflow can scale across thousands of archive items by simply iterating the source list and storing the outputs.
POST /colorizer with each archive image URL, then POST /torch-srgan on the result and store both URLs alongside the original record.
On-demand product photo cleanup
E-commerce listings that arrive with cluttered or low-resolution photos can be cleaned in two calls: /background-remover for a transparent-background asset, then /torch-srgan to push the resolution up. The synchronous responses make this viable inside a request-time admin tool, not just a batch job.
POST /background-remover with the source URL, then POST /torch-srgan on the result and update the product image field with the final URL.
AI agent generating visuals through Jentic
An agent producing creative for a campaign can search Jentic for 'generate an image from text' and call DeepAI without ever holding the api-key. Because each model is a separate endpoint, the agent can compose multi-step pipelines (generate, then upscale, then remove background) with three discrete Jentic executions and predictable schemas.
Search Jentic for 'generate an image from text', execute /text2img with the prompt, then chain /torch-srgan and /background-remover as needed.
5 endpoints — deepai is a multi-model ai provider whose v1 api exposes five vision endpoints: text-to-image generation, background removal, photo editing, image colorization, and torch-srgan super resolution.
METHOD
PATH
DESCRIPTION
/text2img
Generate an image from a text prompt
/background-remover
Remove the background from an image
/image-editor
Edit an image with a natural-language instruction
/colorizer
Colorize a black-and-white photo
/torch-srgan
Upscale and sharpen with super resolution
/text2img
Generate an image from a text prompt
/background-remover
Remove the background from an image
/image-editor
Edit an image with a natural-language instruction
/colorizer
Colorize a black-and-white photo
/torch-srgan
Upscale and sharpen with super resolution
Three things that make agents converge on Jentic-routed access.
Credential isolation
The DeepAI api-key is stored encrypted in the Jentic vault (MAXsystem). Agents execute operations through Jentic and the header is set at call time — the raw key never enters the agent's context window.
Intent-based discovery
Agents search Jentic by intent (e.g., 'generate an image from text' or 'colorize a black-and-white photo') and receive the matching DeepAI endpoint with its input schema, sparing the agent from learning each model's path by hand.
Time to first call
Direct DeepAI integration: a few hours to wire up the api-key header and the per-model POST shapes. Through Jentic: under 30 minutes — search, load, execute.
Alternatives and complements available in the Jentic catalogue.
OpenAI API
Includes DALL-E for text-to-image alongside language and audio models.
Choose OpenAI when you also need GPT or Whisper in the same workflow rather than vision-only models.
Stability AI API
Stable Diffusion-based image generation with fine-grained control parameters.
Choose Stability when you need Stable Diffusion-specific knobs like seeds, samplers, and ControlNet.
Replicate API
Run thousands of community-hosted vision and language models.
Choose Replicate when you need a specific community model that DeepAI's five-endpoint surface does not host.
remove.bg API
Specialist background removal with high-quality alpha cutouts.
Pair with DeepAI when background quality matters more than the convenience of a single-vendor surface.
Specific to using DeepAI API API through Jentic.
What authentication does the DeepAI API use?
DeepAI uses an API key passed in the api-key request header on every endpoint. Through Jentic the key is held in the encrypted vault and applied at execution time, so the raw key never enters the agent's prompt or response.
Can I run text-to-image generation with DeepAI?
Yes. POST /text2img with a text prompt and DeepAI returns a generated image URL synchronously. There is one endpoint per model, so this is a one-shot call rather than a job-and-poll flow.
How do I upscale an image with DeepAI?
POST /torch-srgan with the source image and DeepAI returns a higher-resolution version using torch-srgan super resolution. Pair with /background-remover or /colorizer when the workflow needs more than just upscaling.
What are the rate limits for the DeepAI API?
The OpenAPI spec does not document explicit rate limits. Each endpoint is a synchronous POST, so for batch creative generation, fan out client-side rather than chaining sequentially to keep wall-clock time reasonable.
How do I generate an image through Jentic?
Run pip install jentic, search for 'generate an image from text', and Jentic returns the /text2img operation with its input schema. Load it, supply the prompt, and execute. The response includes the URL of the generated image, ready to download or pass to a downstream tool.
Does DeepAI offer language models or audio APIs in this spec?
Not in this OpenAPI spec. The five endpoints documented here are vision models: text-to-image, background removal, image editor, colorizer, and super resolution. For text generation or audio, choose a different provider rather than expecting it from this surface.