@neta-art/cohub 11.3.2 → 11.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4986,7 +4986,7 @@ interface SystemOneRequest<Q extends Questions = Questions> {
|
|
|
4986
4986
|
model?: string;
|
|
4987
4987
|
}
|
|
4988
4988
|
//#endregion
|
|
4989
|
-
//#region ../../node_modules/.pnpm/@neta-art+generation@0.1.
|
|
4989
|
+
//#region ../../node_modules/.pnpm/@neta-art+generation@0.1.39/node_modules/@neta-art/generation/dist/builtins-BYR-8YTe.d.ts
|
|
4990
4990
|
//#region src/types.d.ts
|
|
4991
4991
|
declare const MODEL_SCHEMA: "neta.generation.model.v1";
|
|
4992
4992
|
declare const GENERATION_MODEL_CATEGORIES: readonly ["image", "video", "audio", "3d", "decision"];
|
package/dist/chunks/http.d.ts
CHANGED
|
@@ -1109,7 +1109,10 @@ type UploadChatAttachmentInput = {
|
|
|
1109
1109
|
onProgress?: (progress: PublicAssetUploadProgress) => void;
|
|
1110
1110
|
signal?: AbortSignal;
|
|
1111
1111
|
};
|
|
1112
|
-
/**
|
|
1112
|
+
/**
|
|
1113
|
+
* A local generation input: an image, video or audio file, or a GLB, glTF, OBJ, FBX or STL model whose `filename`
|
|
1114
|
+
* ends with the format's extension. Same shape as a chat attachment.
|
|
1115
|
+
*/
|
|
1113
1116
|
type UploadGenerationInputInput = UploadChatAttachmentInput;
|
|
1114
1117
|
/** @deprecated Prefer UploadChatAttachmentInput — images are a special case of chat attachments. */
|
|
1115
1118
|
type UploadChatImageAttachmentInput = UploadChatAttachmentInput & {
|
|
@@ -1125,7 +1128,7 @@ declare class PublicAssetsApi {
|
|
|
1125
1128
|
/** Durable public upload for any chat attachment (image or file). No space required. */
|
|
1126
1129
|
uploadAppSource(input: UploadAppSourceInput): Promise<PublicAssetUploadBase>;
|
|
1127
1130
|
uploadChatAttachment(input: UploadChatAttachmentInput): Promise<PublicAssetUploadBase>;
|
|
1128
|
-
/** Durable, unlisted URL for a local generation input (image, video, or
|
|
1131
|
+
/** Durable, unlisted URL for a local generation input (image, video, audio, or 3D model named with its extension). */
|
|
1129
1132
|
uploadGenerationInput(input: UploadGenerationInputInput): Promise<PublicAssetUploadBase>;
|
|
1130
1133
|
/** Preprocessed chat image (webp/jpeg). Same durable path as uploadChatAttachment. */
|
|
1131
1134
|
uploadChatImageAttachment(input: UploadChatImageAttachmentInput): Promise<PublicAssetUploadBase>;
|
package/dist/chunks/http.js
CHANGED
|
@@ -945,7 +945,7 @@ var PublicAssetsApi = class {
|
|
|
945
945
|
signal: input.signal
|
|
946
946
|
});
|
|
947
947
|
}
|
|
948
|
-
/** Durable, unlisted URL for a local generation input (image, video, or
|
|
948
|
+
/** Durable, unlisted URL for a local generation input (image, video, audio, or 3D model named with its extension). */
|
|
949
949
|
uploadGenerationInput(input) {
|
|
950
950
|
return this.upload({
|
|
951
951
|
...input,
|