Image-to-3d
7 List Demo Sessions

Introduction

List demo image-to-3d sessions.

List Demo Sessions

Request

GET /image-to-3d-sessions/demo-sessions

Parameters


limit OPTIONAL
type : string
in : query
default : 10
description : Number of records to be returned in the response.


page OPTIONAL
type : string
in : query
description : Number of records to be skipped.

Code Snippets

Python

import requests

url = "https://api.csm.ai:5566/image-to-3d-sessions/demo-sessions"

payload = {}
headers = {}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

Node.js

var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://api.csm.ai:5566/image-to-3d-sessions/demo-sessions',
  'headers': {
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});


Curl

curl -k --location 'https://api.csm.ai:5566/image-to-3d-sessions/demo-sessions'

Response

{
  "error": "",
  "message": "Retrieved",
  "statusCode": 200,
  "data": {
    "results": [
      {
        "_id": "65cb375904518fa1c0f497bd",
        "user_id": "62fdb597f3efdd2e0a094fdc",
        "session_code": "SESSION_1707816789_8102507",
        "image_url": "https://rawcapture.blob.core.windows.net/uploaded/dharmrajvora/SESSION_1707816789_8102507.png?sp=rcwl&st=2022-06-24T16:05:30Z&se=2025-07-17T00:05:30Z&spr=https&sv=2021-06-08&sr=c&sig=OQKXCAQ7akLUp%2BPxLdTplV3Bz0OTUadK9huuNe%2FJ3%2Fs%3D",
        "input_image": "https://imageto3d.blob.core.windows.net/data/inference_outputs/dkvora@yopmail.com/SESSION_1707816789_8102507/masked_image.png?se=2034-02-10T13%3A43%3A03Z&sp=r&sv=2023-11-03&sr=b&sig=Uc/KOpSIPWFHOjf20l9Whpqgph5%2BJEVSmbtkzcivD8Y%3D",
        "caption": "",
        "discord_user_id": "",
        "user_name": "",
        "email": "dkvora@yopmail.com",
        "preview_mesh_url": "https://nerffmpremium.blob.core.windows.net/inference-spins/dkvora@yopmail.com/SESSION_1707816789_8102507/mesh.zip?se=2035-07-12T01%3A42%3A05Z&sp=r&sv=2023-11-03&sr=b&sig=BYAg/GHP7GVPFHxte6IOJsqVXM0Hd4PQOXWGxJ4efYM%3D",
        "mesh_url_usdz": "https://imageto3d.blob.core.windows.net/data/inference_outputs/dkvora@yopmail.com/SESSION_1707816789_8102507/mesh.usdz?se=2034-02-10T13%3A42%3A55Z&sp=r&sv=2023-11-03&sr=b&sig=OMSmp/IYXA420hp%2BF63BwcJi6nMbSvXbL2bnNG8tsNs%3D",
        "mesh_url_glb": "https://imageto3d.blob.core.windows.net/data/inference_outputs/dkvora@yopmail.com/SESSION_1707816789_8102507/mesh.glb?se=2034-02-10T13%3A42%3A52Z&sp=r&sv=2023-11-03&sr=b&sig=f4aEMgWCnnq7EnILpuZkQs8wfSSnh52Ks0t6Ch7oIos%3D",
        "reactions_count": 3,
        "emoji_reactions": {
            "heart": 1,
            "fire": 0,
            "exploding_head": 1,
            "meh": 0,
            "dislike": 1
        },
        "texture_resolution": 0,
        "mesh_url": "",
        "polished_mesh_url_usdz": "",
        "polished_mesh_url_glb": "",
        "polished_mesh_url": "",
        "mesh_url_obj": "",
        "mesh_url_zip": "https://imageto3d.blob.core.windows.net/data/inference_outputs/dkvora@yopmail.com/SESSION_1707816789_8102507/mesh.zip?se=2034-02-10T13%3A43%3A01Z&sp=r&sv=2023-11-03&sr=b&sig=fZSZGWL8is1%2BDaHTjLeMCbqzQFN7vym9klFHucUXGHs%3D",
        "preview_mesh_url_zip": "",
        "preview_mesh_url_glb": "https://nerffmpremium.blob.core.windows.net/inference-spins/dkvora@yopmail.com/SESSION_1707816789_8102507/mesh.glb?se=2035-07-12T01%3A42%3A05Z&sp=r&sv=2023-11-03&sr=b&sig=yJf4gxsmP/tKYNDCghMauE%2BFUbRmnA6tDtnoLMGRxfQ%3D",
        "preview_mesh_url_usdz": "",
        "preview_mesh_url_fbx": "",
        "mesh_url_fbx": "https://imageto3d.blob.core.windows.net/data/inference_outputs/dkvora@yopmail.com/SESSION_1707816789_8102507/mesh.fbx?se=2034-02-10T13%3A42%3A59Z&sp=r&sv=2023-11-03&sr=b&sig=sZncHgq7%2BTrIZMc98BObsX%2B46HWx5qufvGmNbeObgYs%3D",
        "mp4_url": "https://imageto3d.blob.core.windows.net/data/inference_outputs/dkvora@yopmail.com/SESSION_1707816789_8102507/refined.mp4?se=2034-02-10T13%3A42%3A50Z&sp=r&sv=2023-11-03&sr=b&sig=3xXC7hUuiikHLJdDVE1VdJFA09muK5mcm/a8WPizGnA%3D",
        "designer_mesh_url": "",
        "preview_mesh_url_3mf": "",
        "mesh_url_3mf": "",
        "session_gif": "",
        "user_image": "",
        "percentage": 100,
        "price": 0,
        "status": "refine_done",
        "topology": "",
        "resolution": "",
        "source": "web",
        "demo": true,
        "user_demo": false,
        "private": true,
        "debug": false,
        "random_poses": true,
        "inference": [],
        "output_id": "1f841433-5eb5-4c70-ab72-bf79d35962ee",
        "animated_walk_url": "",
        "animated_run_url": "",
        "animated_jump_url": "",
        "auto_gen_3d": false,
        "server_type": "fast",
        "model_version": "2.0-turbo",
        "selected_spin": "https://nerffmpremium.blob.core.windows.net/inference-spins/dkvora@yopmail.com/SESSION_1707816789_8102507/spins/spin_02.mp4?se=2035-07-12T00%3A33%3A37Z&sp=r&sv=2023-11-03&sr=b&sig=%2BTbwZEBg/EYvvPpRyL4rhnHmB0hp81O3if6IcogZ7xk%3D",
        "is_deleted": false,
        "tier_at_creation": "creative_pro",
        "reaction_by_admin": "",
        "manual_segmentation": false,
        "preview_mesh": "turbo",
        "pixel_alignment": "highest",
        "model_resolution": "high",
        "product_version": "1.0.0",
        "diffusion_time_steps": 20,
        "selected_spin_index": 0,
        "spins": [
            {
                "image_name": "image_00",
                "image_url": "https://nerffmpremium.blob.core.windows.net/inference-spins/dkvora@yopmail.com/SESSION_1707816789_8102507/spins/spin_00.mp4?se=2035-07-12T00%3A33%3A37Z&sp=r&sv=2023-11-03&sr=b&sig=N0G9Wy7Ty4Cr43pTt81R3ERCIWBirnBtdv7x9gO41u4%3D"
            },
            {
                "image_name": "image_01",
                "image_url": "https://nerffmpremium.blob.core.windows.net/inference-spins/dkvora@yopmail.com/SESSION_1707816789_8102507/spins/spin_01.mp4?se=2035-07-12T00%3A33%3A37Z&sp=r&sv=2023-11-03&sr=b&sig=uR5553CnUcfKdJOdXz5IWvWEjEgxXHNZ8n88QDM1XPw%3D"
            },
            {
                "image_name": "image_02",
                "image_url": "https://nerffmpremium.blob.core.windows.net/inference-spins/dkvora@yopmail.com/SESSION_1707816789_8102507/spins/spin_02.mp4?se=2035-07-12T00%3A33%3A37Z&sp=r&sv=2023-11-03&sr=b&sig=%2BTbwZEBg/EYvvPpRyL4rhnHmB0hp81O3if6IcogZ7xk%3D"
            },
            {
                "image_name": "image_03",
                "image_url": "https://nerffmpremium.blob.core.windows.net/inference-spins/dkvora@yopmail.com/SESSION_1707816789_8102507/spins/spin_03.mp4?se=2035-07-12T00%3A33%3A37Z&sp=r&sv=2023-11-03&sr=b&sig=7Y5IDB5RlzAKxmR3aksPIS3s9L0jU25NhNEDd3Xfbus%3D"
            }
        ],
        "created_at": "2024-02-13T09:33:13.895Z",
        "updated_at": "2024-02-14T08:10:50.465Z",
        "vote": "",
        "reactions": [],
        "total_reactions": 0
    }
    ],
    "page": 0,
    "skip": 0,
    "limit": 10,
    "totalPages": 1,
    "totalResults": 1,

  }
}