create
POST
/models
Request
Header Params
Authorization
string
optional
Example:
Bearer {{token}}
Body Params application/json
chainId
string
required
address
string
required
modelId
integer
required
metadata
object (Metadata)
required
name
string
required
description
string
required
imageUrl
string
required
animationUrl
string
required
externalUrl
string
required
properties
required
Example
{
"chainId": "ethereum",
"address": "0x8186b1b1397acd543a990347b01d5ccf29490a66",
"modelId": 0,
"metadata": {
"name": "unrevealed word",
"description": "",
"imageUrl": "https://ipfs.io/ipfs/bafybeiefckaq42pwqozwjtvqufcuj3jnedxpxjulrjlz65y5jjbgks6mvy",
"animationUrl": "https://ipfs.io/ipfs/bafybeiefckaq42pwqozwjtvqufcuj3jnedxpxjulrjlz65y5jjbgks6mvy",
"externalUrl": "",
"properties": {
"w1": "",
"w2": "",
"w3": "",
"w4": "",
"w5": ""
}
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://metadata.dlab.ovh/api/models' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"chainId": "ethereum",
"address": "0x8186b1b1397acd543a990347b01d5ccf29490a66",
"modelId": 0,
"metadata": {
"name": "unrevealed word",
"description": "",
"imageUrl": "https://ipfs.io/ipfs/bafybeiefckaq42pwqozwjtvqufcuj3jnedxpxjulrjlz65y5jjbgks6mvy",
"animationUrl": "https://ipfs.io/ipfs/bafybeiefckaq42pwqozwjtvqufcuj3jnedxpxjulrjlz65y5jjbgks6mvy",
"externalUrl": "",
"properties": {
"w1": "",
"w2": "",
"w3": "",
"w4": "",
"w5": ""
}
}
}'
Responses
🟢200OK
application/json
Body
object {0}
Example
{}
Modified at 2025-04-11 08:13:16