公众号验证码功能完成 yeah!!!

This commit is contained in:
2025-11-21 15:33:03 +08:00
parent ad35173301
commit 6330f6faa1
614 changed files with 31574 additions and 4571 deletions

View File

@@ -299,7 +299,7 @@ export interface ImageGenPartialImageEvent {
* Emitted when a partial image is available during image generation streaming.
*/
export type ImageGenStreamEvent = ImageGenPartialImageEvent | ImageGenCompletedEvent;
export type ImageModel = 'dall-e-2' | 'dall-e-3' | 'gpt-image-1';
export type ImageModel = 'dall-e-2' | 'dall-e-3' | 'gpt-image-1' | 'gpt-image-1-mini';
/**
* The response from the image generation endpoint.
*/
@@ -436,7 +436,8 @@ export interface ImageEditParamsBase {
/**
* Control how much effort the model will exert to match the style and features,
* especially facial features, of input images. This parameter is only supported
* for `gpt-image-1`. Supports `high` and `low`. Defaults to `low`.
* for `gpt-image-1`. Unsupported for `gpt-image-1-mini`. Supports `high` and
* `low`. Defaults to `low`.
*/
input_fidelity?: 'high' | 'low' | null;
/**