mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-09 10:37:03 +08:00
Improve types.
This commit is contained in:
parent
1fa9ced75f
commit
daf1fab89b
@ -1,6 +1,6 @@
|
||||
# generated by datamodel-codegen:
|
||||
# filename: http://localhost:8080/openapi
|
||||
# timestamp: 2025-04-22T09:45:21+00:00
|
||||
# timestamp: 2025-04-22T09:57:11+00:00
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# generated by datamodel-codegen:
|
||||
# filename: http://localhost:8080/openapi
|
||||
# timestamp: 2025-04-22T09:45:21+00:00
|
||||
# timestamp: 2025-04-22T09:57:11+00:00
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# generated by datamodel-codegen:
|
||||
# filename: http://localhost:8080/openapi
|
||||
# timestamp: 2025-04-22T09:45:21+00:00
|
||||
# timestamp: 2025-04-22T09:57:11+00:00
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@ -1141,6 +1141,7 @@ class OpenAIImageGenerationRequest(BaseModel):
|
||||
|
||||
class Datum1(BaseModel):
|
||||
b64_json: Optional[str] = Field(None, description='Base64 encoded image data')
|
||||
revised_prompt: Optional[str] = Field(None, description='Revised prompt')
|
||||
url: Optional[str] = Field(None, description='URL of the image')
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user