curl --request POST \
--url https://api.infinitecreator.com/v1/tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"assets": [
{
"url": "<string>",
"type": "image",
"model": "basic-1"
}
],
"agents": [
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"picture": "<string>",
"designation": "<string>",
"phones": [
{
"number": "<string>",
"type": "office",
"region": "US"
}
],
"emails": [
{
"address": "[email protected]"
}
],
"licenses": [
{
"number": "<string>",
"state": "<string>"
}
],
"video_options": {
"ratio": "1920:1080",
"components": {
"intro": {
"enabled": false,
"background_color": "<string>",
"primary_font": "Euclid Circular A",
"secondary_font": "Euclid Circular A",
"logo": "<string>",
"font_color": "<string>"
},
"specs": {
"enabled": false,
"background_color": "<string>",
"primary_font": "Euclid Circular A",
"secondary_font": "Euclid Circular A",
"font_color": "<string>"
},
"business_card": {
"enabled": false,
"background_color": "<string>",
"primary_font": "Euclid Circular A",
"secondary_font": "Euclid Circular A",
"font_color": "<string>",
"picture_shape": "square",
"logo": "<string>"
},
"outro": {
"enabled": false,
"url": "<string>"
},
"overlay": {
"enabled": false,
"primary_font": "Euclid Circular A",
"logo": "<string>"
},
"office": {
"enabled": false,
"logo": "<string>"
}
},
"create_preview": false,
"metadata": {}
},
"offices": [
{
"name": "<string>",
"address": {
"street": "<string>",
"state": "<string>",
"city": "<string>",
"postal_code": "<string>"
},
"phone_number": {
"number": "<string>",
"type": "office",
"region": "US"
}
}
]
}
],
"address": {
"street": "<string>",
"state": "<string>",
"city": "<string>",
"postal_code": "<string>"
},
"bedrooms": 1,
"bathrooms": 1,
"half_bathrooms": 1,
"interior_square_footage": 2
}
'{
"id": "<string>"
}Creates a task from real estate listing data.
curl --request POST \
--url https://api.infinitecreator.com/v1/tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"assets": [
{
"url": "<string>",
"type": "image",
"model": "basic-1"
}
],
"agents": [
{
"id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"picture": "<string>",
"designation": "<string>",
"phones": [
{
"number": "<string>",
"type": "office",
"region": "US"
}
],
"emails": [
{
"address": "[email protected]"
}
],
"licenses": [
{
"number": "<string>",
"state": "<string>"
}
],
"video_options": {
"ratio": "1920:1080",
"components": {
"intro": {
"enabled": false,
"background_color": "<string>",
"primary_font": "Euclid Circular A",
"secondary_font": "Euclid Circular A",
"logo": "<string>",
"font_color": "<string>"
},
"specs": {
"enabled": false,
"background_color": "<string>",
"primary_font": "Euclid Circular A",
"secondary_font": "Euclid Circular A",
"font_color": "<string>"
},
"business_card": {
"enabled": false,
"background_color": "<string>",
"primary_font": "Euclid Circular A",
"secondary_font": "Euclid Circular A",
"font_color": "<string>",
"picture_shape": "square",
"logo": "<string>"
},
"outro": {
"enabled": false,
"url": "<string>"
},
"overlay": {
"enabled": false,
"primary_font": "Euclid Circular A",
"logo": "<string>"
},
"office": {
"enabled": false,
"logo": "<string>"
}
},
"create_preview": false,
"metadata": {}
},
"offices": [
{
"name": "<string>",
"address": {
"street": "<string>",
"state": "<string>",
"city": "<string>",
"postal_code": "<string>"
},
"phone_number": {
"number": "<string>",
"type": "office",
"region": "US"
}
}
]
}
],
"address": {
"street": "<string>",
"state": "<string>",
"city": "<string>",
"postal_code": "<string>"
},
"bedrooms": 1,
"bathrooms": 1,
"half_bathrooms": 1,
"interior_square_footage": 2
}
'{
"id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Beta headers allow you to access experimental features and new model capabilities before they become part of the standard API.
Unique identifier for the listing.
Listing assets.
5 - 100 elementsShow child attributes
Publicly accessible URL of the asset. See our documentation for more information.
1 - 2083Type of asset
image Model to use for image-to-video generation. If not specified, the default basic model will be used.
basic-1, premium-1 Agents associated with the listing. We will make 1 video per agent.
1 - 20 elementsShow child attributes
Unique identifier for the agent
First name of the agent
255Last name of the agent
255Profile picture of the agent.
1 - 2083Designation of the agent
255Phone numbers of the agent
Show child attributes
Phone number. We accept a number in any format (E164, national, international etc), assuming it can be interpreted with the region supplied. If we fail to parse your phone number, it will not be used.
Type of phone number.
office, mobile, direct The region that we are expecting the number to be from. This is only used if the number being parsed is not written in international format.
2Customize the look and feel of the video for this agent.
Show child attributes
Resolution of the output video.
1920:1080, 1080:1920 Configuration of branded components that are included in the video along with the assets.
Show child attributes
This component is shown in the first few seconds of the video. It displays information related to the listing's address.
Show child attributes
Enable or disable the component. If true, the component will be shown in the video. If false, the component will not be shown in the video.
Background color of the component.
Primary font of the component.
Euclid Circular A, Sainte Colombe Light, Airbnb Cereal, Gotham, Gotham Light, Arial Secondary font of the component.
Euclid Circular A, Sainte Colombe Light, Airbnb Cereal, Gotham, Gotham Light, Arial Logo to be displayed. Only .png logotypes are supported.
1 - 2083Font color of the component.
This component is shown in the middle of the video. It displays information regarding the listing's bedrooms, bathrooms and square footage.
Show child attributes
Enable or disable the component. If true, the component will be shown in the video. If false, the component will not be shown in the video.
Background color of the component.
Primary font of the component.
Euclid Circular A, Sainte Colombe Light, Airbnb Cereal, Gotham, Gotham Light, Arial Secondary font of the component.
Euclid Circular A, Sainte Colombe Light, Airbnb Cereal, Gotham, Gotham Light, Arial Font color of the component.
This component is shown just before the outro component. It displays information related to the agent's contact information.
Show child attributes
Enable or disable the component. If true, the component will be shown in the video. If false, the component will not be shown in the video.
Background color of the component.
Primary font of the component.
Euclid Circular A, Sainte Colombe Light, Airbnb Cereal, Gotham, Gotham Light, Arial Secondary font of the component.
Euclid Circular A, Sainte Colombe Light, Airbnb Cereal, Gotham, Gotham Light, Arial Font color of the component.
Shape of the picture.
circle, square Logo to be displayed.
1 - 2083This component is shown at the end of the video. This is usually a logotype.
Show child attributes
Enable or disable the component. If true, the component will be shown in the video. If false, the component will not be shown in the video.
URL of the image or video. This is usually a logotype.
1 - 2083This component is shown on top of the video and displays a summary of listing information. It will only take effect if no other components are enabled.
Show child attributes
Enable or disable the component. If true, the component will be shown in the video. If false, the component will not be shown in the video.
Primary font of the component.
Euclid Circular A, Sainte Colombe Light, Airbnb Cereal, Gotham, Gotham Light, Arial Logo to be displayed.
1 - 2083This component is shown just before outro and displays a summary of the first office per agent.
Show child attributes
Enable or disable the component. If true, the component will be shown in the video. If false, the component will not be shown in the video.
Logo to be displayed.
1 - 2083When this is enabled, a short gif will be generated along with the main video.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Key-value pairs specified here can be found unchanged within the corresponding Task result. Supports up to 50 keys, with maximum key length of 40 characters and maximum value length of 500 characters. Keys and values are stored as strings. Keys cannot contain square brackets. Don't store any sensitive information (bank account numbers, card details, and so on) as metadata.
Show child attributes
Offices of the agent
Show child attributes
Show child attributes
Phone number. We accept a number in any format (E164, national, international etc), assuming it can be interpreted with the region supplied. If we fail to parse your phone number, it will not be used.
Type of phone number.
office, mobile, direct The region that we are expecting the number to be from. This is only used if the number being parsed is not written in international format.
2Number of bedrooms
x >= 0Number of bathrooms
x >= 0Number of half bathrooms
x >= 0Interior square footage
x >= 1Successful Response
Unique identifier for the task.
Was this page helpful?