Generate a Studio animation
API Docs with browser clientStart an idempotent asynchronous cinematic, looped, or sheet-guided animation from an owned successful logo generation. Reuse idempotencyKey on retry and poll getStudioGeneration for completion.
In: header
Header Parameters
Optional delegated account address to authenticate as when the signer is an approved signer. Preferred header name.
Legacy alias for x-namefi-erc1271-account. When multiple delegated account headers are present, x-namefi-eip7702-account takes precedence, then x-namefi-erc1271-account.
Optional delegated account address to authenticate as when the signer is an approved signer. Preferred ERC-1271 header name.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.namefi.dev/v-next/studio/generations/animation" \ -H "Content-Type: application/json" \ -d '{ "domain": "string", "idempotencyKey": "0c14c6a6-6f50-4d1e-b0c4-b46ff43ba6a1", "referenceLogoGenerationId": "dba6d8d1-2d6f-497b-aa8a-be565dc6f07b", "mode": "cinematic" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"domain": "string",
"kind": "logo",
"status": "FAILED",
"referenceGenerationId": "59c8f501-277e-4ad3-8ebc-e341820105e9",
"request": {
"kind": "logo",
"logoType": "string",
"logoStyle": "string",
"model": "string",
"textTreatment": "string",
"typography": "string"
},
"result": {
"kind": "logo",
"logoType": "string",
"logoStyle": "string",
"model": "string",
"textTreatment": "string",
"typography": "string",
"logoColorTreatment": "string",
"backgroundTreatment": "string"
},
"asset": {
"url": "string",
"thumbnailUrl": "string",
"mimeType": "string"
},
"failure": {
"code": "GENERATION_FAILED",
"message": "Generation failed. Please try again."
},
"pollAfterSeconds": 2,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"startedAt": "2019-08-24T14:15:22Z",
"finishedAt": "2019-08-24T14:15:22Z"
}{
"defined": true,
"code": "BAD_REQUEST",
"status": 400,
"message": "Bad Request",
"data": null
}{
"defined": true,
"code": "UNAUTHORIZED",
"status": 401,
"message": "Unauthorized",
"data": null
}{
"defined": true,
"code": "PAYMENT_REQUIRED",
"status": 402,
"message": "Payment Required",
"data": null
}{
"defined": true,
"code": "FORBIDDEN",
"status": 403,
"message": "Forbidden",
"data": null
}{
"defined": true,
"code": "NOT_FOUND",
"status": 404,
"message": "Not Found",
"data": null
}{
"defined": true,
"code": "NOT_ACCEPTABLE",
"status": 406,
"message": "Not Acceptable",
"data": null
}{
"defined": true,
"code": "TIMEOUT",
"status": 408,
"message": "Request Timeout",
"data": null
}{
"defined": true,
"code": "CONFLICT",
"status": 409,
"message": "Conflict",
"data": null
}{
"defined": true,
"code": "PRECONDITION_FAILED",
"status": 412,
"message": "Precondition Failed",
"data": null
}{
"defined": true,
"code": "TOO_MANY_REQUESTS",
"status": 429,
"message": "Too Many Requests",
"data": null
}{
"defined": true,
"code": "INTERNAL_SERVER_ERROR",
"status": 500,
"message": "Internal Server Error",
"data": null
}Delete a Studio generation DELETE
Soft-delete one of the authenticated user's terminal Studio generations. Active work must finish before deletion; deleted assets are no longer returned by Studio list or detail operations.
Generate a Studio logo POST
Start an idempotent asynchronous logo generation. Reuse the same idempotencyKey when retrying the same request, then poll getStudioGeneration until it succeeds or fails.