Create a task
curl --request POST \
--url https://api.infinitecreator.com/v1/tasks \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"assets": [
{
"url": "<string>",
"type": "image"
}
],
"agents": [
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"picture": "https://example.com/profile_picture.png",
"designation": "Licensed Real Estate Associate",
"phones": [
{
"number": "<string>",
"type": "mobile",
"region": "US"
}
],
"emails": [
{
"address": "jsmith@example.com"
}
],
"licenses": [
{
"number": "<string>",
"state": "<string>"
}
],
"video_options": {
"ratio": "1920:1080",
"template_id": "<string>",
"template_data": {},
"create_preview": false,
"metadata": {}
},
"offices": [
{
"name": "<string>",
"address": {
"street": "<string>",
"state": "NY",
"city": "New York",
"postal_code": "10001"
},
"phone_number": {
"number": "<string>",
"type": "mobile",
"region": "US"
}
}
]
}
]
}
'import requests
url = "https://api.infinitecreator.com/v1/tasks"
payload = {
"id": "<string>",
"assets": [
{
"url": "<string>",
"type": "image"
}
],
"agents": [
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"picture": "https://example.com/profile_picture.png",
"designation": "Licensed Real Estate Associate",
"phones": [
{
"number": "<string>",
"type": "mobile",
"region": "US"
}
],
"emails": [{ "address": "jsmith@example.com" }],
"licenses": [
{
"number": "<string>",
"state": "<string>"
}
],
"video_options": {
"ratio": "1920:1080",
"template_id": "<string>",
"template_data": {},
"create_preview": False,
"metadata": {}
},
"offices": [
{
"name": "<string>",
"address": {
"street": "<string>",
"state": "NY",
"city": "New York",
"postal_code": "10001"
},
"phone_number": {
"number": "<string>",
"type": "mobile",
"region": "US"
}
}
]
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
id: '<string>',
assets: [{url: '<string>', type: 'image'}],
agents: [
{
id: '<string>',
first_name: '<string>',
last_name: '<string>',
picture: 'https://example.com/profile_picture.png',
designation: 'Licensed Real Estate Associate',
phones: [{number: '<string>', type: 'mobile', region: 'US'}],
emails: [{address: 'jsmith@example.com'}],
licenses: [{number: '<string>', state: '<string>'}],
video_options: {
ratio: '1920:1080',
template_id: '<string>',
template_data: {},
create_preview: false,
metadata: {}
},
offices: [
{
name: '<string>',
address: {street: '<string>', state: 'NY', city: 'New York', postal_code: '10001'},
phone_number: {number: '<string>', type: 'mobile', region: 'US'}
}
]
}
]
})
};
fetch('https://api.infinitecreator.com/v1/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>"
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}Create a task
Creates a task from real estate listing data.
POST
/
v1
/
tasks
Create a task
curl --request POST \
--url https://api.infinitecreator.com/v1/tasks \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"assets": [
{
"url": "<string>",
"type": "image"
}
],
"agents": [
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"picture": "https://example.com/profile_picture.png",
"designation": "Licensed Real Estate Associate",
"phones": [
{
"number": "<string>",
"type": "mobile",
"region": "US"
}
],
"emails": [
{
"address": "jsmith@example.com"
}
],
"licenses": [
{
"number": "<string>",
"state": "<string>"
}
],
"video_options": {
"ratio": "1920:1080",
"template_id": "<string>",
"template_data": {},
"create_preview": false,
"metadata": {}
},
"offices": [
{
"name": "<string>",
"address": {
"street": "<string>",
"state": "NY",
"city": "New York",
"postal_code": "10001"
},
"phone_number": {
"number": "<string>",
"type": "mobile",
"region": "US"
}
}
]
}
]
}
'import requests
url = "https://api.infinitecreator.com/v1/tasks"
payload = {
"id": "<string>",
"assets": [
{
"url": "<string>",
"type": "image"
}
],
"agents": [
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"picture": "https://example.com/profile_picture.png",
"designation": "Licensed Real Estate Associate",
"phones": [
{
"number": "<string>",
"type": "mobile",
"region": "US"
}
],
"emails": [{ "address": "jsmith@example.com" }],
"licenses": [
{
"number": "<string>",
"state": "<string>"
}
],
"video_options": {
"ratio": "1920:1080",
"template_id": "<string>",
"template_data": {},
"create_preview": False,
"metadata": {}
},
"offices": [
{
"name": "<string>",
"address": {
"street": "<string>",
"state": "NY",
"city": "New York",
"postal_code": "10001"
},
"phone_number": {
"number": "<string>",
"type": "mobile",
"region": "US"
}
}
]
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
id: '<string>',
assets: [{url: '<string>', type: 'image'}],
agents: [
{
id: '<string>',
first_name: '<string>',
last_name: '<string>',
picture: 'https://example.com/profile_picture.png',
designation: 'Licensed Real Estate Associate',
phones: [{number: '<string>', type: 'mobile', region: 'US'}],
emails: [{address: 'jsmith@example.com'}],
licenses: [{number: '<string>', state: '<string>'}],
video_options: {
ratio: '1920:1080',
template_id: '<string>',
template_data: {},
create_preview: false,
metadata: {}
},
offices: [
{
name: '<string>',
address: {street: '<string>', state: 'NY', city: 'New York', postal_code: '10001'},
phone_number: {number: '<string>', type: 'mobile', region: 'US'}
}
]
}
]
})
};
fetch('https://api.infinitecreator.com/v1/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>"
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"code": "<string>",
"message": "<string>",
"context": {}
}{
"code": "<string>",
"message": "<string>",
"context": {}
}Headers
Beta headers allow access to experimental features before they become part of the standard API.
Body
application/json
Unique identifier for the object.
Example:
"L12345678"
Listing assets.
Required array length:
5 - 100 elementsShow child attributes
Show child attributes
Agents associated with the listing. We will make 1 video per agent.
Required array length:
1 - 20 elementsShow child attributes
Show child attributes
Listing address.
Show child attributes
Show child attributes
Number of bedrooms
Required range:
x >= 0Example:
3
Number of bathrooms
Required range:
x >= 0Example:
2
Number of half bathrooms
Required range:
x >= 0Example:
1
Interior square footage
Required range:
x >= 1Example:
1231.5
Response
Successful Response
Unique identifier for the object.
Example:
"01K364FEGEDX32AK5RK447H2KP"
Last modified on June 19, 2026
Was this page helpful?
⌘I