Skip to main content

Introduction

The Artguru Open API gives you programmatic access to Artguru's AI photo enhancement models — the same pipelines behind artguru.ai.

Base URL: https://api.artguru.ai/

Capabilities​

CapabilityEndpointAccepts mode
Photo Enhance — general-purpose HD enhancementPOST /api/v1/enhance/generateYes
Old Photo Restore — repair damaged or faded photosPOST /api/v1/restore/generateNo
Colorize — add color to an imagePOST /api/v1/colorize/generateNo
Unblur — recover detail from blurry imagesPOST /api/v1/unblur/generateYes
Upscale Pro — upscale to 4K or 8KPOST /api/v1/upscale/generateYes
Remove Background — create a transparent-background imagePOST /api/v1/background/remove/generateNo

The optional mode parameter (general, graphics, portrait, text) tells the API what kind of content you are processing — see Capability modes.

Subscription and pricing​

API operations use your account’s credit balance. Rates depend on the endpoint, resolution, and mode. See Pricing for the latest rates.

How it works​

Generation is asynchronous:

  1. Upload the source image with POST /api/v1/image/upload, or use any publicly reachable HTTPS image URL.
  2. Submit a task to one of the generation endpoints. The response returns immediately with a taskId, a businessType, and status: "PENDING".
  3. Poll GET /api/v1/tasks/{businessType}/{taskId} until status is SUCCESS, FAIL, ERROR, or OTHER, then read data.generateUrl. Results are returned as image URLs.

Every response carries a requestId for support and log correlation — see Request IDs.

Where to go next​

  • Authentication — get an API key and send it on every call.
  • Pricing — credit cost per endpoint and mode.
  • Rate limits and task quotas — current limits, response headers, and safe retry behavior.
  • Errors — status codes, business codes, and task states.
  • Use with AI — let your coding assistant read these docs.
  • API Endpoints in the sidebar — full request/response reference with runnable examples.