stylestring
Color-region style.
기본값: "realistic"
가능한 값: "realistic", "cartoon"
meshy/print/multi-colorMeshy Multi-Color Print turns a textured 3D model into color regions and returns a 3MF ready for a multi-color slicer.
모델 사용해 보기
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Meshy Multi-Color Print turns a textured 3D model into color regions and returns a 3MF ready for a multi-color slicer.
| Field | Type | Default | Notes |
|---|---|---|---|
model_url | string, required | — | URL of the 3D model (GLB, GLTF, FBX, OBJ or STL) as a public URL or data URI. |
style | realistic / cartoon | "realistic" | Color-region style. |
max_colors | integer 1–16 | 4 | Maximum number of colors. |
max_depth | integer 3–6 | 4 | Color detail depth (realistic style only). |
printer_brand | bambu / anycubic / creality / flashforge / snapmaker / elegoo / prusa / qidi / ankermake | "bambu" | Slicer preset written into the 3MF. |
url: Multi-color 3MF.$0.40 per model.
빌드를 시작하세요
SandBase Unified Run API를 통해 이 모델을 제출하세요.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "meshy/print/multi-color",
"style": "realistic",
"max_depth": 4,
"model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb",
"max_colors": 4,
"printer_brand": "bambu"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"SandBase API 키를 생성해 서버 환경에 설정하세요. 모든 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하거나 저장소에 커밋하지 마세요.
이 모델 ID와 입력값을 사용해 /v1/run로 POST하세요. 위의 요청 예시에는 제출과 폴링이 포함되어 있습니다.
반환된 실행 ID를 사용해 상태가 completed, failed 또는 timeout이 될 때까지 폴링하세요. completed 이후에만 출력을 읽으세요.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"모델의 이미지, 비디오 또는 오디오 필드에 공개적으로 접근 가능한 파일 URL을 전달하세요. 지원 형식과 제한은 각 Playground 입력 옆에 표시됩니다.
Playground의 지원되는 이미지 필드에서 업로드 또는 교체 컨트롤을 사용하세요. 비디오 URL 필드는 호스팅된 driving video를 받으며, 비디오 업로드 지원을 의미하지는 않습니다.
stylestringColor-region style.
기본값: "realistic"
가능한 값: "realistic", "cartoon"
max_depthintegerColor detail depth (realistic style only).
기본값: 4
최소값: 3
최대값: 6
model_urlstring필수URL of the 3D model (GLB, GLTF, FBX, OBJ or STL) as a public URL or data URI.
max_colorsintegerMaximum number of colors.
기본값: 4
최소값: 1
최대값: 16
printer_brandstringSlicer preset written into the 3MF.
기본값: "bambu"
가능한 값: "bambu", "anycubic", "creality", "flashforge", "snapmaker", "elegoo", "prusa", "qidi", "ankermake"
{
"model": "meshy/print/multi-color",
"style": "realistic",
"max_depth": 4,
"model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb",
"max_colors": 4,
"printer_brand": "bambu"
}완료된 실행의 결과는 출력에 표시됩니다. 아래 내용은 새 생성 결과가 아니라 모델에 저장된 예시입니다.
예시 출력이 아직 게시되지 않았습니다. 완료된 실행 후 Playground → Result → JSON에서 응답을 확인하세요.