Skip to main content
POST
https://www.fill3d.ai/api/v1
/
generations
Create a Generation
curl --request POST \
  --url https://www.fill3d.ai/api/v1/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "messages": [
    {
      "role": "<string>",
      "content": [
        {
          "type": "<string>",
          "text": "<string>",
          "image_url": "<string>"
        }
      ]
    }
  ],
  "stream": true
}
'
{
  "id": "<string>",
  "model": "<string>",
  "message": {},
  "created": "<string>"
}
Before generating 3D models or staged images, you must first create a Scene which contains your image along with relevant metadata.

Request Body

model
string
required
Generation model. Must be blend-1 or stager-1-preview.
messages
GenerationMessage[]
required
Generation messages.
stream
bool
default:false
Whether to stream intermediate results while creating a generation.

Response Body

id
string
required
Generation identifier.
model
string
required
Generation model. Will be blend-1 or stager-1-preview.
message
GenerationMessage
required
Generation message.
created
Date
required
Generation creation date.