resize_image
Resize Image
Resize an image to specific dimensions with flexible fitting options. Supports padding, cropping, and canvas modes. Can also add a watermark/caption overlay to the output image with configurable position, size, and opacity.
resize_image
Resize an image to specific dimensions with flexible fitting options. Supports padding, cropping, and canvas modes. Can also add a watermark/caption overlay to the output image with configurable position, size, and opacity.
inpaint_outpaint
Inpaint specific regions of an image or outpaint (uncrop) to extend the canvas beyond the original borders. **Inpainting** fills in or modifies masked regions with AI-generated content. Provide a mask image to specify which areas to modify. **Outpainting** expands the image canvas and generates new content to fill the extended area. Useful for adding space for text overlays or expanding tight crops.
delete_job_result
Delete a previously processed image result by its job ID. Removes the stored result from Deep Image servers.
remove_background
Remove the background from an image, optionally replacing it with a solid color, a custom image, or an AI-generated background. Ideal for product photography, e-commerce listings, and creative workflows. Supports automatic object detection and smart cropping.
get_account_info
Retrieve Deep Image account details including available credits, username, email, webhook configuration, and billing address.
enhance_image
Enhance and upscale an image using AI. Applies denoising, deblurring, sharpening, lighting correction, color adjustment, white balance, face enhancement, and exposure correction. Can also upscale images to a target resolution (up to 4x) or by percentage. Supports generative upscaling for AI-powered resolution increase. Optionally apply a preset profile (e.g. e-commerce, real estate) instead of manually configuring enhancements.
get_job_result
Retrieve the result of an image processing job by its ID. Use this to poll for results when a processing job was started asynchronously or returned a non-complete status.
generate_image
Generate a new image from a text prompt using AI, or transform an existing image using prompt-based generation. Supports multiple AI models and adapter types for different generation modes: text-to-image, image-to-image transformation, edge-based generation, and generative upscaling.
face_swap
Swap a face in an image with a face from another image using AI. The target image must contain a visible face to be replaced. Can also generate AI avatars and business photos from a face image with creative transformation options.
Enhance, upscale, and process images using AI. Upscale images up to 300 megapixels, remove or replace backgrounds, reduce noise, sharpen, and correct color and lighting. Generate new images from text prompts, perform face enhancement and face swap, edit images via natural language prompts, and apply inpainting or outpainting to extend image borders. Add watermarks and captions, resize with padding and framing, generate AI avatars and professional business photos, and apply virtual staging for real estate listings. Use presets for common workflows like e-commerce and print. Process images from connected cloud storage (AWS S3, Dropbox, Google Drive, OneDrive) and receive webhook notifications on job completion. Retrieve account details and credit balance.
Common questions about connecting Deepimage to AI agents with Metorial.