Create Asset
API Endpoint
POST https://api.genaifactory.ai/v1/assets
Headers
Name
Type
Required
Description
app-id
string
Yes
Must be "flickbloom"
authorization
string
Yes
Bearer token for user authentication
Request Body
Name
Type
Required
Description
asset_url
string
Yes
Specifies the asset url to create
description
object
No
Describle the asset
Example Request
curl --location 'http://localhost:3300/v1/assets' \
--header 'app-id: flickbloom' \
--header 'authorization: Bearer YOUR_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"asset_url":"https://cdn.genaifactory.ai/assets/flickbloom/FkuKvdmVvJdMswE4iiuE7Y4mwKD2/2d6e2fdbdf9940c493e90efc5075e277_output_mixed.mp4",
"description":"abc"
}'
Response
Success Response (201 OK
)
{
"created_at": "2025-04-10T02:27:45.502339+00:00",
"description": "abc",
"file_type": "mp4",
"id": 16,
"url": "https://cdn.genaifactory.ai/assets/flickbloom/FkuKvdmVvJdMswE4iiuE7Y4mwKD2/2d6e2fdbdf9940c493e90efc5075e277_output_mixed.mp4"
}
Last updated
Was this helpful?