Package com.openai.models
Class Image.Builder
-
- All Implemented Interfaces:
public final class Image.Builder
-
-
Method Summary
Modifier and Type Method Description final Image.Builderb64Json(String b64Json)The base64-encoded JSON of the generated image, if response_formatisb64_json.final Image.Builderb64Json(JsonField<String> b64Json)The base64-encoded JSON of the generated image, if response_formatisb64_json.final Image.BuilderrevisedPrompt(String revisedPrompt)The prompt that was used to generate the image, if there was any revision to the prompt. final Image.BuilderrevisedPrompt(JsonField<String> revisedPrompt)The prompt that was used to generate the image, if there was any revision to the prompt. final Image.Builderurl(String url)The URL of the generated image, if response_formatisurl(default).final Image.Builderurl(JsonField<String> url)The URL of the generated image, if response_formatisurl(default).final Image.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Image.BuilderputAdditionalProperty(String key, JsonValue value)final Image.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Image.BuilderremoveAdditionalProperty(String key)final Image.BuilderremoveAllAdditionalProperties(Set<String> keys)final Imagebuild()-
-
Method Detail
-
b64Json
final Image.Builder b64Json(String b64Json)
The base64-encoded JSON of the generated image, if
response_formatisb64_json.
-
b64Json
final Image.Builder b64Json(JsonField<String> b64Json)
The base64-encoded JSON of the generated image, if
response_formatisb64_json.
-
revisedPrompt
final Image.Builder revisedPrompt(String revisedPrompt)
The prompt that was used to generate the image, if there was any revision to the prompt.
-
revisedPrompt
final Image.Builder revisedPrompt(JsonField<String> revisedPrompt)
The prompt that was used to generate the image, if there was any revision to the prompt.
-
url
final Image.Builder url(String url)
The URL of the generated image, if
response_formatisurl(default).
-
url
final Image.Builder url(JsonField<String> url)
The URL of the generated image, if
response_formatisurl(default).
-
additionalProperties
final Image.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Image.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Image.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Image.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Image.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-