Tencent의 플래그십 3D 생성 모델입니다. 텍스트 프롬프트 또는 이미지로 고폴리곤 텍스처 3D 모델을 만들고, PBR(물리 기반 렌더링) 머티리얼 옵션을 지원합니다.
콘솔의 Playground에서 별도 코드 없이 이 모델을 즉시 테스트할 수 있어요
이 모델의 사용법을 Claude, ChatGPT 등에 복사
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "tencent/hunyuan-3d-3.1",
"input": {
"prompt": "A cute low-poly cartoon fox sitting, game asset style",
"generate_type": "Normal",
"enable_pbr": true
}
}'| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | No | - | 3D 모델의 텍스트 설명 (prompt 또는 image 중 하나만) |
image | string | No | - | 3D로 변환할 이미지 — 단순한 배경 권장 (prompt 또는 image 중 하나만) |
enable_pbr | boolean | No | false | PBR(물리 기반 렌더링) 머티리얼 생성 |
face_count | integer | No | 500000 | 생성 모델의 폴리곤 수 |
generate_type | string | No | Normal | 'Normal'은 텍스처 모델, 'Geometry'는 텍스처 없는 화이트 모델 NormalGeometry |
이 모델의 image 파라미터에 파일을 전달하는 방법은 3가지입니다.
POST /v1/predictions/upload에 파일을 직접 첨부합니다. 별도 업로드 과정이 필요 없습니다.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=tencent/hunyuan-3d-3.1" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:image=@your_file.png"공개 접근 가능한 URL을 직접 전달합니다. Storage API로 업로드한 파일의 file_url도 사용 가능합니다.
{
"model": "tencent/hunyuan-3d-3.1",
"input": {
"prompt": "your prompt here",
"image": "https://example.com/image.jpg"
}
}POST /v1/predictions 요청 시 사용되는 공통 파라미터입니다.
| 파라미터 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
model | string | Yes | - | 모델 식별자 |
input | object | Yes | - | 위 테이블의 모델별 파라미터를 포함하는 객체 |
output_folder | string | No | - | 결과물 저장 폴더 경로 (최대 256자, '..' 사용 불가) |
webhook_url | string | No | - | 완료 시 호출할 Webhook URL |
is_public | boolean | No | false | true 시 결과물을 영구 공개 URL로도 제공 |
설명만으로 텍스처 3D 모델 생성
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "tencent/hunyuan-3d-3.1",
"input": {
"prompt": "A cute low-poly cartoon fox sitting, game asset style",
"generate_type": "Normal",
"enable_pbr": true
}
}'