This commit is contained in:
2026-05-09 17:15:23 +08:00
parent 80a4183b45
commit a0ed128bde
43 changed files with 2573 additions and 381 deletions

View File

@@ -0,0 +1,75 @@
export type Hyper3dGenerationMode = 'text-to-model' | 'image-to-model';
export type Hyper3dTextToModelRequest = {
prompt: string;
negativePrompt?: string | null;
seed?: number | null;
geometryFileFormat?: string | null;
material?: string | null;
quality?: string | null;
meshMode?: string | null;
addons?: string[];
bboxCondition?: number[] | null;
previewRender?: boolean | null;
};
export type Hyper3dImageToModelRequest = {
imageDataUrls?: string[];
imageUrls?: string[];
prompt?: string | null;
conditionMode?: string | null;
seed?: number | null;
geometryFileFormat?: string | null;
material?: string | null;
quality?: string | null;
meshMode?: string | null;
addons?: string[];
bboxCondition?: number[] | null;
previewRender?: boolean | null;
};
export type Hyper3dTaskSubmitResponse = {
ok: boolean;
provider: string;
mode: Hyper3dGenerationMode;
taskUuid: string;
subscriptionKey: string;
jobUuids: string[];
message?: string | null;
tier: string;
};
export type Hyper3dTaskStatusRequest = {
subscriptionKey: string;
};
export type Hyper3dJobStatusPayload = {
uuid?: string | null;
status: string;
progress?: number | null;
message?: string | null;
};
export type Hyper3dTaskStatusResponse = {
ok: boolean;
provider: string;
status: string;
jobs: Hyper3dJobStatusPayload[];
raw: unknown;
};
export type Hyper3dDownloadRequest = {
taskUuid: string;
};
export type Hyper3dDownloadFilePayload = {
name: string;
url: string;
};
export type Hyper3dDownloadResponse = {
ok: boolean;
provider: string;
files: Hyper3dDownloadFilePayload[];
raw: unknown;
};

View File

@@ -1,3 +1,4 @@
export type * from './creativeAgent';
export type * from './hyper3d';
export type * from './puzzleCreativeTemplate';
export type * from './visualNovel';

View File

@@ -5,6 +5,7 @@ export * from './contracts/common';
export type * from './contracts/creationAgentDocumentInput';
export type * from './contracts/creativeAgent';
export type * from './contracts/customWorldAgent';
export type * from './contracts/hyper3d';
export * from './contracts/match3dAgent';
export * from './contracts/match3dRuntime';
export * from './contracts/match3dWorks';