Skip to content

event image_generation_call 缺少几个参数 #675

Description

@williamleecn

event image_generation_call 缺少几个参数
相关struct ResponseOutputItemImageGenerationCall 在文件 responses/response.go

type ResponseOutputItemImageGenerationCall struct {
	// The unique ID of the image generation call.
	ID string `json:"id" api:"required"`
	// The generated image encoded in base64.
	Result string `json:"result" api:"required"`
	// The status of the image generation call.
	//
	// Any of "in_progress", "completed", "generating", "failed".
	Status string `json:"status" api:"required"`
	// The type of the image generation call. Always `image_generation_call`.
	Type constant.ImageGenerationCall `json:"type" default:"image_generation_call"`
	// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
	JSON struct {
		ID          respjson.Field
		Result      respjson.Field
		Status      respjson.Field
		Type        respjson.Field
		ExtraFields map[string]respjson.Field
		raw         string
	} `json:"-"`
}

应该还有**action, output_format, background,quality, revised_prompt ** 等参数

Metadata

Metadata

Assignees

No one assigned

    Labels

    OpenAPIIssue concerns the OpenAPI/API schema or generated API surface.

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions