asset://{assetId} format in your generation requests.
Base URL: https://zcbservice.aizfw.cn/kyyReactApiServer
Endpoint: POST /asset/sd2Manxue/assetUpload
Request Parameters
array
A list of image URLs to submit for moderation review. Images should have an aspect ratio between
0.4 and 2.5, and dimensions between 300 px and 6000 px on each side.array
A list of video URLs to submit for moderation review.
array
A list of audio URLs to submit for moderation review.
imageUrls, videoUrls, or audioUrls must be provided and non-empty.
Response Fields
string
Response status code.
"0" indicates success; any other value indicates failure.string
Response message. Returns
null on success, or an error description on failure.object
The response data object, returned on success.
Example Request
After submitting your assets, poll the Asset Status endpoint until each asset’s status changes to
Active. Only assets with Active status can be used in generation tasks.Workflow
Follow these steps to use submitted assets in a generation task:- Submit assets — Call this endpoint with your media URLs. Collect the
assetIdfor each item indata.items. - Poll for Active status — Call the Asset Status endpoint with your asset IDs until all required assets show
Active. - Reference in generation — Use
asset://{assetId}in your generation task request for the appropriate parameter (referenceImages,referenceVideos, orreferenceAudios).