General Information
Posted: Wed Jun 11, 2025 4:37 pm
OpenAI REST API
Applying the knowledge gained during the development of my Progressive Web App (PWA) helped with coding the REST APIs.
Connect GPT (gpt-4.1, gpt-5): Latest GPT models for complex tasks.
• gpt_attach_image.pb: Describes a user-defined image.
• gpt_attach_text.pb: Summarizes a text document.
• gpt_conversation.pb: Simulates a conversation.
• gpt_logit_bias.pb: Utilizes TikToken to demonstrate Logit Bias.
• gpt_miscellaneous.pb: Uses an extreme set of parameters to return a deterministic response.
• gpt_stop_sequence.pb: Demonstrates the use of Stop Sequence.
• gpt_system_user.pb: Includes a System context with a User instruction to set the tone of the response.
• gpt_url_image.pb: Describes an image from a URL.
• gpt_url_source.pb: Returns filtered image URLs from a user-defined webpage using the page source.
• gpt_user.pb: Simple User instruction and response.
Connect Dall-E (dall-e-2, dall-e-3): First and second image generation models.
• dalle_base64.pb: Return a base64 string converted and displayed in an ImageGadget.
• dalle_mask.pb: Return an image URL of an edited image displayed in a WebGadget.
• dalle_url.pb: Return an image URL displayed in a WebGadget.
• dalle_variation.pb: Return an image URL of an image variation displayed in a WebGadget.
Connect Image (gpt-image-1): State-of-the-art image generation model.
• image_base64.pb: Return a base64 string converted and displayed in an ImageGadget.
• image_html.pb: Return a base64 string of an edited image displayed in an WebGadget.
Connect Moderation (omni-moderation-latest): Identify harmful content in text and images.
• moderation_base64.pb: Return a JSON string of data from a Base64 image displayed in an EditorGadget.
• moderation_url.pb: Return a JSON string of data from an image URL displayed in an EditorGadget.
• moderation_array.pb: Return a JSON string of data from a text array displayed in an EditorGadget.
Applying the knowledge gained during the development of my Progressive Web App (PWA) helped with coding the REST APIs.
Connect GPT (gpt-4.1, gpt-5): Latest GPT models for complex tasks.
• gpt_attach_image.pb: Describes a user-defined image.
• gpt_attach_text.pb: Summarizes a text document.
• gpt_conversation.pb: Simulates a conversation.
• gpt_logit_bias.pb: Utilizes TikToken to demonstrate Logit Bias.
• gpt_miscellaneous.pb: Uses an extreme set of parameters to return a deterministic response.
• gpt_stop_sequence.pb: Demonstrates the use of Stop Sequence.
• gpt_system_user.pb: Includes a System context with a User instruction to set the tone of the response.
• gpt_url_image.pb: Describes an image from a URL.
• gpt_url_source.pb: Returns filtered image URLs from a user-defined webpage using the page source.
• gpt_user.pb: Simple User instruction and response.
Connect Dall-E (dall-e-2, dall-e-3): First and second image generation models.
• dalle_base64.pb: Return a base64 string converted and displayed in an ImageGadget.
• dalle_mask.pb: Return an image URL of an edited image displayed in a WebGadget.
• dalle_url.pb: Return an image URL displayed in a WebGadget.
• dalle_variation.pb: Return an image URL of an image variation displayed in a WebGadget.
Connect Image (gpt-image-1): State-of-the-art image generation model.
• image_base64.pb: Return a base64 string converted and displayed in an ImageGadget.
• image_html.pb: Return a base64 string of an edited image displayed in an WebGadget.
Connect Moderation (omni-moderation-latest): Identify harmful content in text and images.
• moderation_base64.pb: Return a JSON string of data from a Base64 image displayed in an EditorGadget.
• moderation_url.pb: Return a JSON string of data from an image URL displayed in an EditorGadget.
• moderation_array.pb: Return a JSON string of data from a text array displayed in an EditorGadget.
