Asset Management
Generate Upload Signature
Interface description: Generate a signed URL for direct transfer to object storage, and the upload path is automatically generated based on user and resource type. View OSS upload usage tutorial.
POST
Generate Upload Signature
Authorizations
Need to get API Key from AiToEarn. Click to go to "API Key Obtaining Tutorial".
Body
application/json
File name (with extension)
Resource type
Available options:
aiImage, aiVideo, aiCard, aiChatImage, aideoOutput, videoEdit, dramaRecap, styleTransfer, imageEdit, subtitle, userMedia, userFile, publishMedia, avatar, agentSession, videoThumbnail, googlePlace, brandLibrary, temp File size (bytes)
Response
200 - application/json
The request has been processed by the service. Business success is determined by whether the response body has code === 0.

