bitbybit-dev Models - Phone Nest API
The Models - Phone Nest API from bitbybit-dev — 1 operation(s) for models - phone nest.
The Models - Phone Nest API from bitbybit-dev — 1 operation(s) for models - phone nest.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/bitbybit-dev:bitbybit-dev-models-phone-nest-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Bitbybit CAD Cloud Models - Phone Nest API
version: 1.6.0
description: High-performance parametric CAD model generation API. Supports multi-format output (STEP, GLTF, decomposed mesh), pipeline execution, file-based conversion, and async job processing.
contact:
name: Bitbybit
url: https://bitbybit.dev
termsOfService: https://bitbybit.dev/terms-and-conditions
license:
name: Proprietary
url: https://bitbybit.dev/terms-and-conditions
servers:
- url: https://api.bitbybit.dev
description: Production
security:
- ApiKeyAuth: []
tags:
- name: Models - Phone Nest
paths:
/api/v1/models/phone-nest:
post:
tags:
- Models - Phone Nest
summary: Models - build a Phone Nest
description: Parametric 3D-printable desktop phone holder/stand with a lofted cradle surface, optional ornamental perforations, and a phone mock-up shape. All parameters are optional - defaults produce a ready-to-print model.
requestBody:
required: true
content:
application/json:
example:
params:
heightBottom: 5
heightTop: 16
widthBack: 25
widthFront: 10
length: 16
backOffset: 6
thickness: 0.4
applyOrnaments: false
filletRadius: 2
phoneHeight: 16.8
phoneWidth: 7.8
phoneThickness: 0.7
precision: 0.01
rotation: 0
scale: 1
origin:
- 0
- 0
- 0
direction:
- 0
- 1
- 0
outputs:
formats:
- step
- gltf
schema:
$ref: '#/components/schemas/PhoneNestBody'
responses:
'202':
description: Task accepted
content:
application/json:
schema:
$ref: '#/components/schemas/TaskAcceptedResponse'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postApiV1ModelsPhoneNest
x-operation-id-source: derived
components:
schemas:
Point3:
type: array
prefixItems:
- type: number
minimum: -1000
maximum: 1000
- type: number
minimum: -1000
maximum: 1000
- type: number
minimum: -1000
maximum: 1000
description: 3D point as [x, y, z] tuple, each coordinate in [-1000, 1000]
OutputFormat:
type: string
enum:
- step
- stpz
- decomposed-mesh
- gltf
description: 'Output file format: ''step'' (raw STEP), ''stpz'' (gzip-compressed STEP), ''decomposed-mesh'' (triangulated JSON), ''gltf'' (glTF 2.0 binary .glb). Note: ''step'' and ''stpz'' are mutually exclusive - choose one or the other, not both.'
TaskCreatedResult:
type: object
properties:
taskId:
type: string
description: Unique task identifier - use this to poll for status and retrieve results
format: uuid
status:
type: string
const: queued
description: Initial task status (always 'queued' upon creation)
statusUrl:
type: string
description: Relative URL to poll for task status updates
example: /api/v1/tasks/{taskId}
required:
- taskId
- status
- statusUrl
additionalProperties: false
description: Returned when a CAD task is accepted. Poll the statusUrl to track progress.
OutputOptions:
type: object
properties:
formats:
minItems: 1
type: array
items:
$ref: '#/components/schemas/OutputFormat'
description: Output formats to generate. Multiple formats can be requested (e.g. ['gltf', 'stpz']) - each produces a separate downloadable result. Do not include both 'step' and 'stpz' - only one STEP variant is supported per request.
meshPrecision:
description: Tessellation precision for mesh-based outputs (decomposed-mesh and gltf). Lower values produce denser meshes. Only ignored when output is limited to step/stpz formats.
$ref: '#/components/schemas/MeshPrecision'
gltfMeshPrecision:
description: Override tessellation precision specifically for glTF output. When set, takes precedence over meshPrecision for glTF only.
$ref: '#/components/schemas/MeshPrecision'
adjustYtoZ:
description: Convert from Y-up to Z-up coordinate system in the output. Useful for software that expects Z-up.
type: boolean
required:
- formats
additionalProperties: false
description: Controls which output formats are generated and their quality settings
PositiveScale:
type: number
minimum: 1.0e-06
maximum: 1000
description: 'Uniform scale factor. Range: [1e-6, 1000]'
ErrorResponse:
type: object
properties:
ok:
type: boolean
const: false
error:
$ref: '#/components/schemas/ErrorDetail'
required:
- ok
- error
additionalProperties: false
description: Standard error envelope
PhoneNestParams:
type: object
properties:
heightBottom:
description: Height of the bottom section (cm)
type: number
exclusiveMinimum: 0
maximum: 50
heightTop:
description: Height of the top section (cm)
type: number
exclusiveMinimum: 0
maximum: 50
widthBack:
description: Width at the back (cm)
type: number
exclusiveMinimum: 0
maximum: 50
widthFront:
description: Width at the front (cm)
type: number
exclusiveMinimum: 0
maximum: 50
length:
description: Depth / length (cm)
type: number
exclusiveMinimum: 0
maximum: 50
backOffset:
description: Back curve offset (cm)
type: number
minimum: 0
maximum: 30
thickness:
description: Shell wall thickness
type: number
exclusiveMinimum: 0
maximum: 5
applyOrnaments:
description: Add decorative perforations to the surface
type: boolean
filletRadius:
description: Fillet radius on loft edges
type: number
minimum: 0
maximum: 15
phoneHeight:
description: Phone mock-up height (cm)
type: number
exclusiveMinimum: 0
maximum: 35
phoneWidth:
description: Phone mock-up width (cm)
type: number
exclusiveMinimum: 0
maximum: 35
phoneThickness:
description: Phone mock-up thickness (cm)
type: number
exclusiveMinimum: 0
maximum: 3
precision:
description: Geometry precision (lower = finer)
$ref: '#/components/schemas/MeshPrecision'
rotation:
description: Final rotation angle (degrees)
type: number
minimum: -360
maximum: 360
scale:
description: Uniform scale factor
$ref: '#/components/schemas/PositiveScale'
origin:
description: '[x, y, z] placement origin'
$ref: '#/components/schemas/Point3'
direction:
description: '[x, y, z] up direction'
$ref: '#/components/schemas/Point3'
additionalProperties: false
description: Phone Nest model parameters - all optional, sane defaults apply
PhoneNestBody:
type: object
properties:
params:
$ref: '#/components/schemas/PhoneNestParams'
outputs:
$ref: '#/components/schemas/OutputOptions'
required:
- outputs
additionalProperties: false
description: Request body for the Phone Nest model
TaskAcceptedResponse:
type: object
properties:
ok:
type: boolean
const: true
data:
$ref: '#/components/schemas/TaskCreatedResult'
required:
- ok
- data
additionalProperties: false
description: HTTP 202 response when a task is accepted for async processing
MeshPrecision:
type: number
minimum: 0.0001
maximum: 10
description: 'Mesh tessellation precision (lower = finer). Range: [0.0001, 10]'
example: 0.1
ErrorDetail:
type: object
properties:
code:
type: string
description: Machine-readable error code
example: VALIDATION_ERROR
message:
type: string
description: Human-readable error message
details:
description: Optional structured error context
requestId:
description: Request ID for tracing
type: string
required:
- code
- message
additionalProperties: false
description: Structured error information with machine-readable code and optional debugging context
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: 'Scoped API key. Scopes: models, cad, convert, * (wildcard). A key without the required scope receives 403 INSUFFICIENT_SCOPE.'