Fotor OpenAPI
  1. Getting Started
Fotor OpenAPI
  • Getting Started
    • Introduction
    • Access and Authentication
    • For Serverless Clients
    • Token Consumption
  • Reference
    • AI Upscaler
      POST
    • AI Skin Retouch
      POST
    • Text to Image
      POST
    • Image to Image (AI Art Effects)
      POST
    • Background Remover
      POST
    • AI Headshot
      POST
    • Photo Colorize
      POST
    • Photo Restoration
      POST
    • Face Swap
      POST
    • AI Replace
      POST
    • Query Task Details
      GET
  • Webhook
    • Webhook
  • AI Editor SDK
    • Getting Started
    • Get Sdk Temporary Token
      GET
  1. Getting Started

For Serverless Clients

This API is designed for clients without a server or domain, providing an easy integration method. All API endpoints support access via standard URL parameters or Base64-encoded data, allowing clients to directly transmit resource data without the need for an intermediary server. Whether you are using browser-based JavaScript, mobile applications, or other clients unable to deploy a server, you can seamlessly integrate with our services.

Using Base64-Encoded Local Images#

Here is an example of using Base64-encoded local images in your API request:

Using Web Image URLs#

Here is an example of using web image URLs in your API request:

Notes:#

Replace YOUR_API_KEY with your actual API key obtained from the Fotor Developer Platform.
For Base64-encoded images, ensure that the data starts with the appropriate MIME type (e.g., data:image/png;base64,).
For web image URLs, the URL must be publicly accessible to ensure the API can retrieve the resource.
By following these examples, you can easily integrate Fotor OpenAPI into your applications, regardless of whether you have a backend server.
Modified at 2025-01-22 05:52:32
Previous
Access and Authentication
Next
Token Consumption
Built with