From 154ccec9f5d1871bb57567fdad1dd21a2b2ed193 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 12 Jul 2026 14:13:14 +0000 Subject: [PATCH 1/2] Initial plan From 3c52fa0b2d279eba0e3336e046eb2408b37fc173 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 12 Jul 2026 14:17:12 +0000 Subject: [PATCH 2/2] Sync openai and wan docs from Docs repo --- openai/README.md | 12 +- ...i_chat_completion_api_integration_guide.md | 26 +-- ...pletions_4o_image_api_integration_guide.md | 112 ++++++----- ...openai_embeddings_api_integration_guide.md | 10 +- ...enai_images_edits_api_integration_guide.md | 10 +- ...mages_generations_api_integration_guide.md | 10 +- .../openai_responses_api_integration_guide.md | 174 +----------------- .../openai_tasks_api_integration_guide.md | 39 ++-- wan/docs/wan_tasks_api_integration_guide.md | 14 +- ...videos_generation_api_integration_guide.md | 13 +- 10 files changed, 147 insertions(+), 273 deletions(-) diff --git a/openai/README.md b/openai/README.md index 213a5f7..b6f5da8 100644 --- a/openai/README.md +++ b/openai/README.md @@ -1075,11 +1075,13 @@ Explore the supported endpoints and integration guides for OpenAI generation. | API | Path | Integration Guidance | | ---- | ---- | ------------ | -| [OpenAI Chat Completions API](https://platform.acedata.cloud/documents/1bcf3bba-102b-495d-9bba-47cd96717e45) | `/openai/chat/completions` | [OpenAI Chat Completion API Integration Guide](https://platform.acedata.cloud/documents/fc571e00-464f-429e-b920-8896c906c2b9) | -| [OpenAI Images Generations API](https://platform.acedata.cloud/documents/fd932485-90c7-45d6-8394-1e14b6f07b2b) | `/openai/images/generations` | [OpenAI Images Generations API Integration Guide](https://platform.acedata.cloud/documents/22fce352-b71e-4177-991f-2216841f35e2) | -| [OpenAI Responses API](https://platform.acedata.cloud/documents/81e285a6-d010-4a2d-a3a8-ca113d4ef82a) | `/openai/responses` | [OpenAI Responses API Integration Guide](https://platform.acedata.cloud/documents/c1da5338-9fff-4390-bbdc-29713893c07a) | -| [$t(document_title_openai_embeddings_api)](https://platform.acedata.cloud/documents/0f2e63fa-5890-4bdd-84f0-1706b5c9a387) | `/openai/embeddings` | [](https://platform.acedata.cloud/documents/) | -| [OpenAI Images Edits API](https://platform.acedata.cloud/documents/251f1efa-aaa6-462e-8af4-66854b1bc94d) | `/openai/images/edits` | [OpenAI Images Edits API Integration Guide](https://platform.acedata.cloud/documents/932e4b89-2cbb-4cb9-8f85-c9af256bfe69) | +| [OpenAI Chat Completions API](https://platform.acedata.cloud/documents/1bcf3bba-102b-495d-9bba-47cd96717e45) | `/openai/chat/completions` | [OpenAI Chat Completion API Integration Guide](docs/openai_chat_completion_api_integration_guide.md) | +| [OpenAI Embeddings API](https://platform.acedata.cloud/documents/0f2e63fa-5890-4bdd-84f0-1706b5c9a387) | `/openai/embeddings` | [OpenAI Embeddings API Integration Guide](docs/openai_embeddings_api_integration_guide.md) | +| [OpenAI Images Generations API](https://platform.acedata.cloud/documents/fd932485-90c7-45d6-8394-1e14b6f07b2b) | `/openai/images/generations` | [OpenAI Images Generations API Integration Guide](docs/openai_images_generations_api_integration_guide.md) | +| OpenAI Models API | `/openai/models` | โ€” | +| [OpenAI Responses API](https://platform.acedata.cloud/documents/81e285a6-d010-4a2d-a3a8-ca113d4ef82a) | `/openai/responses` | [OpenAI Responses API Integration Guide](docs/openai_responses_api_integration_guide.md) | +| [OpenAI Images Edits API](https://platform.acedata.cloud/documents/251f1efa-aaa6-462e-8af4-66854b1bc94d) | `/openai/images/edits` | [OpenAI Images Edits API Integration Guide](docs/openai_images_edits_api_integration_guide.md) | +| OpenAI Tasks API | `/openai/tasks` | [OpenAI Tasks API Integration Guide](docs/openai_tasks_api_integration_guide.md) | ## Related Resources diff --git a/openai/docs/openai_chat_completion_api_integration_guide.md b/openai/docs/openai_chat_completion_api_integration_guide.md index 3cb3279..5b78ef0 100644 --- a/openai/docs/openai_chat_completion_api_integration_guide.md +++ b/openai/docs/openai_chat_completion_api_integration_guide.md @@ -6,13 +6,15 @@ This document mainly introduces the usage process of the OpenAI Chat Completion ## Application Process -To use the OpenAI Chat Completion API, you can first visit the [OpenAI Chat Completion API](https://platform.acedata.cloud/documents/1bcf3bba-102b-495d-9bba-47cd96717e45) page and click the "Acquire" button to obtain the credentials needed for the request: +To use OpenAI Chat Completion API, first open the [Ace Data Cloud Console](https://platform.acedata.cloud/console/applications) and copy your API Token. -![](https://cdn.acedata.cloud/nyq0xz.png) +![](https://cdn.acedata.cloud/5hmkdg.jpg) -If you are not logged in or registered, you will be automatically redirected to the login page inviting you to register and log in. After logging in or registering, you will be automatically returned to the current page. +If you are not logged in, you will be redirected to sign in and brought back to this page automatically. -When applying for the first time, there will be a free quota available for you to use the API for free. +**A single API Token works across every service on the platform โ€” no need to subscribe per service.** New accounts receive free starter credit; when it runs low you can top up your shared balance in the [console](https://platform.acedata.cloud/console/coin). + +> ๐Ÿ“˜ Full documentation: [OpenAI Chat Completion API โ†’](https://platform.acedata.cloud/documents/openai-chat-completions) ## Basic Usage @@ -40,7 +42,7 @@ After the call, we find that the return result is as follows: "id": "chatcmpl-Cmd6uwSxN75F4PAdQSFEO8f2QPs4E", "object": "chat.completion", "created": 1765706120, - "model": "gpt-5.4", + "model": "gpt-5.2", "choices": [ { "index": 0, @@ -517,11 +519,11 @@ Example result: When calling the API, if an error occurs, the API will return the corresponding error code and message. For example: -- `400 token_mismatched`: Bad request, possibly due to missing or invalid parameters. -- `400 api_not_implemented`: Bad request, possibly due to missing or invalid parameters. -- `401 invalid_token`: Unauthorized, invalid or missing authorization token. -- `429 too_many_requests`: Too many requests, you have exceeded the rate limit. -- `500 api_error`: Internal server error, something went wrong on the server. +- `400 token_mismatched`๏ผš้”™่ฏฏ่ฏทๆฑ‚๏ผŒๅฏ่ƒฝๆ˜ฏ็”ฑไบŽ็ผบๅฐ‘ๆˆ–ๆ— ๆ•ˆ็š„ๅ‚ๆ•ฐใ€‚ +- `400 api_not_implemented`๏ผš้”™่ฏฏ่ฏทๆฑ‚๏ผŒๅฏ่ƒฝๆ˜ฏ็”ฑไบŽ็ผบๅฐ‘ๆˆ–ๆ— ๆ•ˆ็š„ๅ‚ๆ•ฐใ€‚ +- `401 invalid_token`๏ผšๆœชๆŽˆๆƒ๏ผŒๆŽˆๆƒไปค็‰Œๆ— ๆ•ˆๆˆ–็ผบๅคฑใ€‚ +- `429 too_many_requests`๏ผš่ฏทๆฑ‚่ฟ‡ๅคš๏ผŒๆ‚จๅทฒ่ถ…ๅ‡บ้€Ÿ็އ้™ๅˆถใ€‚ +- `500 api_error`๏ผšๅ†…้ƒจๆœๅŠกๅ™จ้”™่ฏฏ๏ผŒๆœๅŠกๅ™จๅ‡บ็Žฐ้—ฎ้ข˜ใ€‚ ### Error Response Example @@ -530,7 +532,7 @@ When calling the API, if an error occurs, the API will return the corresponding "success": false, "error": { "code": "api_error", - "message": "fetch failed" + "message": "่Žทๅ–ๅคฑ่ดฅ" }, "trace_id": "2cf86e86-22a4-46e1-ac2f-032c0f2a4e89" } @@ -538,4 +540,4 @@ When calling the API, if an error occurs, the API will return the corresponding ## Conclusion -Through this document, you have learned how to easily implement the conversational features of the official OpenAI ChatGPT using the OpenAI Chat Completion API. We hope this document can help you better connect and use this API. If you have any questions, please feel free to contact our technical support team. \ No newline at end of file +Through this document, you have learned how to easily implement the conversational features of the official OpenAI ChatGPT using the OpenAI Chat Completion API. We hope this document can help you better connect and use this API. If you have any questions, please feel free to contact our technical support team. diff --git a/openai/docs/openai_chat_completions_4o_image_api_integration_guide.md b/openai/docs/openai_chat_completions_4o_image_api_integration_guide.md index 7edb028..d305938 100644 --- a/openai/docs/openai_chat_completions_4o_image_api_integration_guide.md +++ b/openai/docs/openai_chat_completions_4o_image_api_integration_guide.md @@ -1,28 +1,30 @@ # OpenAI Chat Completion 4o Image API Application and Usage -OpenAI ChatGPT is a very powerful AI dialogue system that can generate smooth and natural responses in just a few seconds by inputting prompts. ChatGPT stands out in the industry with its excellent language understanding and generation capabilities, and today, ChatGPT has been widely applied in various industries and fields, with its influence becoming increasingly significant. Whether for daily conversations, creative writing, or professional consulting and coding, ChatGPT can provide astonishing intelligent assistance, greatly enhancing human work efficiency and creativity. +OpenAI ChatGPT is a powerful AI conversational system that can generate smooth and natural replies within seconds based on input prompts. ChatGPT stands out in the industry for its excellent language understanding and generation capabilities. Today, ChatGPT is widely applied across various industries and fields, with its influence becoming increasingly significant. Whether for daily conversations, creative writing, professional consulting, or code programming, ChatGPT provides impressive intelligent assistance, greatly enhancing human work efficiency and creativity. -This document mainly introduces the usage process of the OpenAI Chat Completion 4o Image API, which allows us to easily utilize the official OpenAI ChatGPT's multimodal dialogue capabilities. +This document mainly introduces the usage process of the OpenAI Chat Completion 4o Image API, which allows us to easily utilize the official OpenAI ChatGPTโ€™s multimodal conversational features. ## Application Process -To use the OpenAI Chat Completion 4o Image API, you can first visit the [OpenAI Chat Completion 4o Image API](https://platform.acedata.cloud/documents/1bcf3bba-102b-495d-9bba-47cd96717e45) page and click the "Acquire" button to obtain the credentials needed for the request: +To use OpenAI Chat Completion 4o Image API, first open the [Ace Data Cloud Console](https://platform.acedata.cloud/console/applications) and copy your API Token. -![](https://cdn.acedata.cloud/nyq0xz.png) +![](https://cdn.acedata.cloud/5hmkdg.jpg) -If you are not logged in or registered, you will be automatically redirected to the login page inviting you to register and log in. After logging in or registering, you will be automatically returned to the current page. +If you are not logged in, you will be redirected to sign in and brought back to this page automatically. -There is a free quota available for first-time applicants, allowing you to use the API for free. +**A single API Token works across every service on the platform โ€” no need to subscribe per service.** New accounts receive free starter credit; when it runs low you can top up your shared balance in the [console](https://platform.acedata.cloud/console/coin). + +> ๐Ÿ“˜ Full documentation: [OpenAI Chat Completion 4o Image API โ†’](https://platform.acedata.cloud/documents/openai-chat-completions) ## GPT-4o Drawing Model -### Generate Images Based on Reference Images +### Generating Images Based on Reference Images -Below is an example of generating a custom style image based on a reference image. First, let's look at the input image, as shown below: +Below is an example of generating a custom style image based on a given picture. First, let's look at the input image: ![](https://cdn.acedata.cloud/qzx2z1.png) -The reference image is a real person's picture, and we can change its style, for example, transforming it into an anime-style image. The specific request example is as follows: +The reference image is a photo of a real person. We can transform its style, for example, turning it into an anime-style image. The specific request example is: ```json { @@ -33,7 +35,7 @@ The reference image is a real person's picture, and we can change its style, for "content": [ { "type": "text", - "text": "Generate an anime-style image with a hat" + "text": "็”ŸๆˆๅŠจๆผซ้ฃŽๆ ผ็š„ๅ›พ็‰‡๏ผŒๅนถไธ”ๅธฆไธŠไธชๅธฝๅญ" }, { "type": "image_url", @@ -52,35 +54,41 @@ Sample result: ```json { + "id": "chatcmpl-89DPQxbLuyRNzH5YLCPYM5WElV3dm", + "object": "chat.completion", + "created": 1781020664, + "model": "gpt-4o-image", "choices": [ { "index": 0, "message": { "role": "assistant", - "content": "> โ‡๏ธ Keywords: https://file.onechats.ai/tem/f7b8024b6f430a0a9d20174bcec1ad3a.png Generate an anime-style image with a hat\n\n> โœจ Sora is drawing the image...\n\n> ๐Ÿƒ Progress: 8.4%\n\n> ๐Ÿƒ Progress: 17.5%\n\n> ๐Ÿƒ Progress: 25.9%\n\n> ๐Ÿƒ Progress: 34.3%\n\n> ๐Ÿƒ Progress: 43.4%\n\n> ๐Ÿƒ Progress: 51.8%\n\n> ๐Ÿƒ Progress: 60.9%\n\n> ๐Ÿƒ Progress: 71.4%\n\n> ๐Ÿƒ Progress: 76.3%\n\n> ๐Ÿƒ Progress: 80.4%\n\n> ๐Ÿƒ Progress: 83.8%\n\n> ๐Ÿƒ Progress: 86.6%\n\n> ๐Ÿƒ Progress: 88.9%\n\n> ๐Ÿƒ Progress: 90.8%\n\n> ๐Ÿƒ Progress: 92.4%\n\n> โœ… Image drawing successful, please check~~~\n\n![](https://file.onechats.ai/tem/4abe605b362a9a59028bf7fafa5f2aff.png)\n\n" + "content": "\n\n> ๐ŸŽจ ็”Ÿๆˆไธญ...\n\n![https://pro.filesystem.site/cdn/20260609/0f7b6cf1b14843b1bab8e261fe5765b3.png](https://pro.filesystem.site/cdn/20260609/0f7b6cf1b14843b1bab8e261fe5765b3.png)\n\n[็‚นๅ‡ปไธ‹่ฝฝ](https://pro.filesystem.site/cdn/download/20260609/0f7b6cf1b14843b1bab8e261fe5765b3.png)" }, + "logprobs": null, "finish_reason": "stop" } ], - "created": 1745152859, - "id": "chatcmpl-7c43d1dd-17e3-4513-9aec-899b21be3c2a", - "model": "gpt-4o-image", - "object": "chat.completion.chunk", "usage": { - "prompt_tokens": 68, - "completion_tokens": 19, - "total_tokens": 87 + "prompt_tokens": 100, + "completion_tokens": 122, + "total_tokens": 222, + "prompt_tokens_details": { + "text_tokens": 93, + "cached_tokens_details": {} + }, + "completion_tokens_details": {} } } ``` -In which the `choices` inside the `message` is the complete dialogue result, and the image result is also included in the dialogue result. It can be seen that the generated image is indeed in anime style, as shown in the following image: +The `message.content` inside `choices` contains the complete generated conversation result, with the image embedded in Markdown format (the image link is a temporary address, please download and save it promptly). The generated image is indeed in anime style, as shown below:

-### Pure Text Image Generation +### Text-Only Image Generation -We can generate an image through a prompt and return it to us in a conversational format. Below, we take `Create an image of a sunset in a futuristic city` as an example, with the specific example as follows: +We can generate an image based on a prompt and receive the result in a conversational format. Below is an example with the prompt `Create an image of a futuristic city at sunset`: ```json { @@ -91,7 +99,7 @@ We can generate an image through a prompt and return it to us in a conversationa "content": [ { "type": "text", - "text": "Create an image of a sunset in a futuristic city" + "text": "ๅˆ›ๅปบไธ€ๅผ ๆœชๆฅๅŸŽๅธ‚ๆ—ฅ่ฝ็š„ๅ›พ็‰‡" } ] } @@ -104,41 +112,47 @@ Sample result: ```json { + "id": "chatcmpl-89DqkpQoPGkQqJ6kPKMKWejjLXVxQ", + "object": "chat.completion", + "created": 1781020587, + "model": "gpt-4o-image", "choices": [ { "index": 0, "message": { "role": "assistant", - "content": "> โ‡๏ธ Keywords: Create an image of a sunset in a futuristic city\n\n> โœจ Sora is drawing the image...\n\n> ๐Ÿƒ Progress: 9.8%\n\n> ๐Ÿƒ Progress: 19.6%\n\n> ๐Ÿƒ Progress: 30.1%\n\n> ๐Ÿƒ Progress: 39.9%\n\n> ๐Ÿƒ Progress: 50.4%\n\n> ๐Ÿƒ Progress: 60.2%\n\n> ๐Ÿƒ Progress: 69.3%\n\n> โœ… Image drawing successful, please check~~~\n\n![](https://file.onechats.ai/tem/4ab6f3cd886aaa6fd575dd37327fae59.png)\n\n" + "content": "\n\n> ๐ŸŽจ ็”Ÿๆˆไธญ...\n\n![https://pro.filesystem.site/cdn/20260609/ed2cca68732540fc99162ddc10ddc153.png](https://pro.filesystem.site/cdn/20260609/ed2cca68732540fc99162ddc10ddc153.png)\n\n[็‚นๅ‡ปไธ‹่ฝฝ](https://pro.filesystem.site/cdn/download/20260609/ed2cca68732540fc99162ddc10ddc153.png)" }, + "logprobs": null, "finish_reason": "stop" } ], - "created": 1745153373, - "id": "chatcmpl-29ed630a-c8fc-4a8a-a8e0-737fcc515192", - "model": "gpt-4o-image", - "object": "chat.completion.chunk", "usage": { - "prompt_tokens": 32, - "completion_tokens": 11, - "total_tokens": 43 + "prompt_tokens": 17, + "completion_tokens": 104, + "total_tokens": 121, + "prompt_tokens_details": { + "text_tokens": 10, + "cached_tokens_details": {} + }, + "completion_tokens_details": {} } } ``` -It can be seen that the result meets the prompt, as shown below: +The result matches the prompt, as shown below:

-### Generate One Image from Multiple Images +### Multiple Images to One Image -We can also use multiple reference images to generate one image. For example, using an image of a handsome man and a coffee image, we can generate an image of a handsome man drinking coffee. Below are the specific reference images: +We can also use multiple reference images to generate a single image. For example, using a photo of a handsome man and a coffee image, we can generate an image of the man drinking coffee. Below are the reference images:

-Below we take `generate a boy holding a coffee and about to drink it` as an example, here are the specific examples: +Here is an example prompt: `Generate an image of a man holding coffee and about to drink it`: ```json { @@ -149,7 +163,7 @@ Below we take `generate a boy holding a coffee and about to drink it` as an exam "content": [ { "type": "text", - "text": "generate a boy holding a coffee and about to drink it" + "text": "็”Ÿๆˆ็”ท็”Ÿไธพ็€ๅ’–ๅ•ก๏ผŒๅนถไธ”้ฉฌไธŠ่ฆๅ–็š„ๆ ทๅญ" }, { "type": "image_url", @@ -174,29 +188,35 @@ Sample result: ```json { + "id": "chatcmpl-89DnHbbzOIQvU1VzJrNjzMU8BRUgG", + "object": "chat.completion", + "created": 1781021018, + "model": "gpt-4o-image", "choices": [ { "index": 0, "message": { "role": "assistant", - "content": "> โ‡๏ธ Keywords: https://file.onechats.ai/tem/b5e2049e82ef071a804d6769e580b702.png https://file.onechats.ai/tem/78e9aa8a0dbd529f3904a6629329ebbe.png generate a boy holding a coffee and about to drink it\n\n> โœจ Sora is drawing the image...\n\n> ๐Ÿƒ Progress: 11.2%\n\n> ๐Ÿƒ Progress: 25.9%\n\n> ๐Ÿƒ Progress: 39.9%\n\n> ๐Ÿƒ Progress: 47.6%\n\n> ๐Ÿƒ Progress: 55.3%\n\n> ๐Ÿƒ Progress: 73.3%\n\n> ๐Ÿƒ Progress: 78.0%\n\n> ๐Ÿƒ Progress: 81.8%\n\n> โœ… Image drawing successful, please check~~~\n\n![](https://file.onechats.ai/tem/6aa9ad6c26b9d4500ea84ea9f56e331b.png)\n\n" + "content": "\n\n> ๐ŸŽจ ็”Ÿๆˆไธญ...\n\n![https://pro.filesystem.site/cdn/20260610/f1d9ddee3c304230a9f92929f04b95be.png](https://pro.filesystem.site/cdn/20260610/f1d9ddee3c304230a9f92929f04b95be.png)\n\n[็‚นๅ‡ปไธ‹่ฝฝ](https://pro.filesystem.site/cdn/download/20260610/f1d9ddee3c304230a9f92929f04b95be.png)" }, + "logprobs": null, "finish_reason": "stop" } ], - "created": 1745154125, - "id": "chatcmpl-d6e5fc71-4e33-4ad6-b259-357241d7c1ab", - "model": "gpt-4o-image", - "object": "chat.completion.chunk", "usage": { - "prompt_tokens": 106, - "completion_tokens": 12, - "total_tokens": 118 + "prompt_tokens": 193, + "completion_tokens": 116, + "total_tokens": 309, + "prompt_tokens_details": { + "text_tokens": 186, + "cached_tokens_details": {} + }, + "completion_tokens_details": {} } } ``` -As you can see, the generated result is indeed a combination of the two images, here is the specific result: +The generated result indeed combines the two images, as shown below:

@@ -212,7 +232,7 @@ When calling the API, if an error occurs, the API will return the corresponding ### Error Response Example -```json +``` { "success": false, "error": { @@ -225,4 +245,4 @@ When calling the API, if an error occurs, the API will return the corresponding ## Conclusion -Through this document, you have learned how to easily implement the official OpenAI ChatGPT's multimodal image processing capabilities using the OpenAI Chat Completion 4o Image API. We hope this document helps you better integrate and use this API. If you have any questions, please feel free to contact our technical support team. +Through this document, you have learned how to easily implement the official OpenAI ChatGPT multimodal image processing features using the OpenAI Chat Completion 4o Image API. We hope this document helps you better integrate and use the API. If you have any questions, please feel free to contact our technical support team. diff --git a/openai/docs/openai_embeddings_api_integration_guide.md b/openai/docs/openai_embeddings_api_integration_guide.md index 797fe6f..9b143b6 100644 --- a/openai/docs/openai_embeddings_api_integration_guide.md +++ b/openai/docs/openai_embeddings_api_integration_guide.md @@ -6,13 +6,15 @@ This document mainly introduces the usage process of the OpenAI Embeddings API, ## Application Process -To use the OpenAI Embeddings API, you can first go to the [OpenAI Embeddings API](https://platform.acedata.cloud/documents/0f2e63fa-5890-4bdd-84f0-1706b5c9a387) page and click the "Acquire" button to obtain the credentials needed for the request: +To use OpenAI Embeddings API, first open the [Ace Data Cloud Console](https://platform.acedata.cloud/console/applications) and copy your API Token. -![](https://cdn.acedata.cloud/nyq0xz.png) +![](https://cdn.acedata.cloud/5hmkdg.jpg) -If you are not logged in or registered, you will be automatically redirected to the login page inviting you to register and log in. After logging in or registering, you will be automatically returned to the current page. +If you are not logged in, you will be redirected to sign in and brought back to this page automatically. -When applying for the first time, there will be a free quota provided, allowing you to use the API for free. +**A single API Token works across every service on the platform โ€” no need to subscribe per service.** New accounts receive free starter credit; when it runs low you can top up your shared balance in the [console](https://platform.acedata.cloud/console/coin). + +> ๐Ÿ“˜ Full documentation: [OpenAI Embeddings API โ†’](https://platform.acedata.cloud/documents/openai-embeddings) ## Basic Usage diff --git a/openai/docs/openai_images_edits_api_integration_guide.md b/openai/docs/openai_images_edits_api_integration_guide.md index 369cad4..e801f57 100644 --- a/openai/docs/openai_images_edits_api_integration_guide.md +++ b/openai/docs/openai_images_edits_api_integration_guide.md @@ -6,13 +6,15 @@ This document mainly introduces the usage process of the OpenAI Images Edits API ## Application Process -To use the OpenAI Images Edits API, first visit the [OpenAI Images Edits API](https://platform.acedata.cloud/documents/251f1efa-aaa6-462e-8af4-66854b1bc94d) page and click the "Acquire" button to obtain the credentials required for requests: +To use OpenAI Images Edits API, first open the [Ace Data Cloud Console](https://platform.acedata.cloud/console/applications) and copy your API Token. -![](https://cdn.acedata.cloud/nyq0xz.png) +![](https://cdn.acedata.cloud/5hmkdg.jpg) -If you are not logged in or registered, you will be automatically redirected to the login page to register and log in. After logging in or registering, you will be automatically returned to the current page. +If you are not logged in, you will be redirected to sign in and brought back to this page automatically. -A free quota is granted upon first application, allowing free use of this API. +**A single API Token works across every service on the platform โ€” no need to subscribe per service.** New accounts receive free starter credit; when it runs low you can top up your shared balance in the [console](https://platform.acedata.cloud/console/coin). + +> ๐Ÿ“˜ Full documentation: [OpenAI Images Edits API โ†’](https://platform.acedata.cloud/documents/openai-images-edits) ## GPT-Image-2 Model diff --git a/openai/docs/openai_images_generations_api_integration_guide.md b/openai/docs/openai_images_generations_api_integration_guide.md index aa89848..fdcecc8 100644 --- a/openai/docs/openai_images_generations_api_integration_guide.md +++ b/openai/docs/openai_images_generations_api_integration_guide.md @@ -6,13 +6,15 @@ This document mainly introduces the usage process of the OpenAI Images Generatio ## Application Process -To use the OpenAI Images Generations API, first visit the [OpenAI Images Generations API](https://platform.acedata.cloud/documents/fd932485-90c7-45d6-8394-1e14b6f07b2b) page and click the "Acquire" button to obtain the credentials required for requests: +To use OpenAI Images Generations API, first open the [Ace Data Cloud Console](https://platform.acedata.cloud/console/applications) and copy your API Token. -![](https://cdn.acedata.cloud/nyq0xz.png) +![](https://cdn.acedata.cloud/5hmkdg.jpg) -If you are not logged in or registered, you will be automatically redirected to the login page to register and log in. After logging in or registering, you will be automatically redirected back to the current page. +If you are not logged in, you will be redirected to sign in and brought back to this page automatically. -There is a free quota granted upon the first application, allowing free use of the API. +**A single API Token works across every service on the platform โ€” no need to subscribe per service.** New accounts receive free starter credit; when it runs low you can top up your shared balance in the [console](https://platform.acedata.cloud/console/coin). + +> ๐Ÿ“˜ Full documentation: [OpenAI Images Generations API โ†’](https://platform.acedata.cloud/documents/openai-images-generations) ## GPT-Image-2 Model diff --git a/openai/docs/openai_responses_api_integration_guide.md b/openai/docs/openai_responses_api_integration_guide.md index 87a8a15..959c522 100644 --- a/openai/docs/openai_responses_api_integration_guide.md +++ b/openai/docs/openai_responses_api_integration_guide.md @@ -6,13 +6,15 @@ This document mainly describes the usage process of the OpenAI Responses API, wh ## Application Process -To use the OpenAI Responses API, you can first go to the [OpenAI Responses API](https://platform.acedata.cloud/documents/81e285a6-d010-4a2d-a3a8-ca113d4ef82a) page and click the "Acquire" button to obtain the credentials needed for the request: +To use OpenAI Responses API, first open the [Ace Data Cloud Console](https://platform.acedata.cloud/console/applications) and copy your API Token. -![](https://cdn.acedata.cloud/nyq0xz.png) +![](https://cdn.acedata.cloud/5hmkdg.jpg) -If you are not logged in or registered, you will be automatically redirected to the login page inviting you to register and log in. After logging in or registering, you will be automatically returned to the current page. +If you are not logged in, you will be redirected to sign in and brought back to this page automatically. -When applying for the first time, there will be a free quota available, allowing you to use the API for free. +**A single API Token works across every service on the platform โ€” no need to subscribe per service.** New accounts receive free starter credit; when it runs low you can top up your shared balance in the [console](https://platform.acedata.cloud/console/coin). + +> ๐Ÿ“˜ Full documentation: [OpenAI Responses API โ†’](https://platform.acedata.cloud/documents/openai-responses) ## Basic Usage @@ -189,47 +191,7 @@ data: {"type": "response.content_part.done", "sequence_number": 15, "item_id": " data: {"type": "response.output_item.done", "sequence_number": 16, "output_index": 0, "item": {"id": "msg_68a9837c49f081908f568bf9c6065c620721186e8fbb89d0", "type": "message", "status": "completed", "content": [{"type": "output_text", "annotations": [], "text": "Hello! How can I help you today? ๐Ÿ˜Š"}], "role": "assistant"}, "model": "gpt-4.1"} -data: {"type": "response.completed", "sequence_number": 17, "response": {"id": "resp_68a9837bb9bc8190b403947311db6faa0721186e8fbb89d0", "object": "response", "created_at": 1755939707, "status": "completed", "background": false, "content_filters": null, "error": null, "incomplete_details": null, "instructions": null, "max_output_tokens": null, "max_tool_calls": null, "model": "gpt-4.1-data", "output": [{"id": "msg_68a9837c49f081908f568bf9c6065c620721186e8fbb89d0", "type": "message", "status": "completed", "content": [{"type": "output_text", "annotations": [], "text": "Hello! How can I help you today? ๐Ÿ˜Š"}], "role": "assistant"}], "parallel_tool_calls": true, "previous_response_id": null, "prompt_cache_key": null, "reasoning": {"effort": null, "summary": null}, "safety_identifier": null, "service_tier": "default", "store": true, "temperature": 1.0, "text": {"format": {"type": "text"}}, "tool_choice": "auto", "tools": [], "top_p": 1.0, "truncation": "disabled", "usage": {"input_tokens": 8, "input_tokens_details": {"cached_tokens": 0}, "output_tokens": 11, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 19}, "user": null, "metadata": {}}, "model": "gpt-4.1"} - -``` - -You can see that there are many `data` entries in the response. The `delta` inside `data` is the latest response content, consistent with the introduction above. The `delta` is newly added response content, which you can use to connect to your system. The end of the streaming response is determined by the `type` field in `data` โ€” when `type` is `response.completed`, the streaming response has fully ended. The returned `data` result contains multiple fields, described as follows: - -- `item_id`: The ID generated for this dialogue task, used to uniquely identify this dialogue task. -- `type`: The type of this Responses dialogue task. -- `model`: The selected OpenAI ChatGPT model. - -JavaScript is also supported. For example, the Node.js streaming call code is as follows: - -```javascript -const options = { - method: "post", - headers: { - accept: "application/json", - authorization: "Bearer {token}", - "content-type": "application/json", - }, - body: JSON.stringify({ - model: "gpt-4.1", - input: [{ role: "user", content: "Hello" }], - stream: true, - }), -}; - -fetch("https://api.acedata.cloud/openai/responses", options) - .then((response) => response.json()) - .then((response) => console.log(response)) - .catch((err) => console.error(err)); -``` - -## Multi-round Dialogue - -If you want to integrate multi-round dialogue functionality, you need to upload multiple prompts in the `input` field. The specific examples of multiple prompts are shown in the image below: - -

- -Python sample call code: - +data: {"type": "response.completed", "sequence_number": 17, "response": {"id": "resp_68a9837bb9bc8190b403947311db6faa0721186e8fbb89d0", "object": "response", "created_at": 1755939707, "status": "completed", "background": false, "content_filters": null, "error": null, "incomplete_details": null, "instructions": null, "max_output_tokens": null, "max_tool_calls": null, "model": "gpt-4.1-data", "output": [{"id": "msg_68a9837c49f081908f568bf9c6065c620721186e8fbb89d0", "type": "message", "status": "completed", "content": [{"type": "output_text", "annotations": [], "text": "Hello! How can I help you today? ๐Ÿ˜Š"}], "role": "assistant"}], "parallel_tool_calls": true, "previous_response_id": null, "prompt_cache_key": null, "reasoning": {"effort": null, "summary": null}, "safety_identifier": null, "service_tier": "default", "store": true, "temperature": 1.0, "text": {"format": {"type": "text"}}, "tool_choice": "auto", "tools": [], "top_p": 1.0, "truncation": "disabled", "usage": ```python import requests @@ -241,126 +203,6 @@ headers = { "content-type": "application/json" } -payload = { - "model": "gpt-4.1", - "input": [{"role":"user","content":"Hello"},{"role":"assistant","content":"Hello! How can I help you today? ๐Ÿ˜Š"},{"role":"user","content":"What did I just say?"}] -} - -response = requests.post(url, json=payload, headers=headers) -print(response.text) -``` - -By uploading multiple prompts, multi-round dialogue can be easily achieved, resulting in the following response: - -```json -{ - "id": "resp_68a989c03c508191a1dd82ce2e37e88a0932a4328c0a5d5b", - "object": "response", - "created_at": 1755941312, - "status": "completed", - "background": false, - "content_filters": null, - "error": null, - "incomplete_details": null, - "instructions": null, - "max_output_tokens": null, - "max_tool_calls": null, - "model": "gpt-4.1", - "output": [ - { - "id": "msg_68a989c092e4819189821a9eb8247e1e0932a4328c0a5d5b", - "type": "message", - "status": "completed", - "content": [ - { - "type": "output_text", - "annotations": [], - "text": "You just said \"Hello.\" \n\nWould you like to continue the conversation or ask a question?" - } - ], - "role": "assistant" - } - ], - "parallel_tool_calls": true, - "previous_response_id": null, - "prompt_cache_key": null, - "reasoning": { - "effort": null, - "summary": null - }, - "safety_identifier": null, - "service_tier": "default", - "store": true, - "temperature": 1, - "text": { - "format": { - "type": "text" - } - }, - "tool_choice": "auto", - "tools": [], - "top_p": 1, - "truncation": "disabled", - "usage": { - "input_tokens": 32, - "input_tokens_details": { - "cached_tokens": 0 - }, - "output_tokens": 20, - "output_tokens_details": { - "reasoning_tokens": 0 - }, - "total_tokens": 52 - }, - "user": null, - "metadata": {} -} -``` - -You can see that the information in `output` is consistent with the basic usage content, which contains the specific replies from ChatGPT for multiple conversations, allowing responses to be provided based on multiple dialogue turns. - -## Vision Model - -gpt-4o is a multimodal large language model developed by OpenAI. It adds visual understanding capabilities on top of GPT-4, allowing it to process both text and image inputs simultaneously to achieve cross-modal understanding and generation. - -Using the gpt-4o model for text processing is consistent with the basic usage described above. Below is a brief introduction to how to use the model's image processing capabilities. - -The image processing capability of the gpt-4o model is mainly enabled by adding a `type` field to the original `content`, through which you can specify whether the input is text or an image. The following describes how to use this feature with both Curl and Python. - -- Curl - -``` -curl -X POST 'https://api.acedata.cloud/openai/responses' \ --H 'accept: application/json' \ --H 'authorization: Bearer {token}' \ --H 'content-type: application/json' \ --d '{ - "model": "gpt-4.1", - "input": [ - { - "role": "user", - "content": [ - {"type": "input_text", "text": "what is in this image?"}, - { - "type": "input_image", - "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg" - } - ] - } - ] - }' -``` - -- Python - -url = "https://api.acedata.cloud/openai/responses" - -headers = { - "accept": "application/json", - "authorization": "Bearer {token}", - "content-type": "application/json" -} - payload = { "model": "gpt-4.1", "input": [ @@ -597,4 +439,4 @@ When calling the API, if an error occurs, the API will return the corresponding ## Conclusion -Through this document, you have learned how to easily implement the official OpenAI Responses creation feature using the OpenAI Responses API. We hope this document can help you better integrate and use the API. If you have any questions, please feel free to contact our technical support team. \ No newline at end of file +Through this document, you have learned how to easily implement the official OpenAI's creation of Responses feature using the OpenAI Responses API. We hope this document helps you better integrate and use the API. If you have any questions, please feel free to contact our technical support team. diff --git a/openai/docs/openai_tasks_api_integration_guide.md b/openai/docs/openai_tasks_api_integration_guide.md index 904058d..bd06591 100644 --- a/openai/docs/openai_tasks_api_integration_guide.md +++ b/openai/docs/openai_tasks_api_integration_guide.md @@ -1,12 +1,14 @@ # Integration and Use of OpenAI Tasks API -The OpenAI Tasks API lets you query tasks that were previously submitted to an OpenAI image API in **callback mode**. Use it to retrieve the final result of an image generation or edit request when you cannot wait for the synchronous HTTP response, or when you want to look up a task later by its `id` or your own `trace_id`. +The OpenAI Tasks API lets you query tasks that were previously submitted to an OpenAI image API in **callback mode**. Use it to retrieve the final result of an image generation or edit request when you cannot wait for the synchronous HTTP response, or when you want to look up a task later. + +In callback mode the original image endpoint **returns a `task_id` to you synchronously the moment the request is accepted**. You simply keep that `task_id` and hand it back to this Tasks API to look the task up later โ€” there is no need to supply a custom `trace_id` (only do so if you want to correlate tasks against your own business identifier). > Tasks are persisted to the server **only when** the original image request was submitted with a `callback_url`. Synchronous (non-callback) calls are not stored. ## Application Process -The OpenAI Tasks API is bundled with the existing OpenAI service. If you already have access to [OpenAI Images Generations](https://platform.acedata.cloud/services/06f2acb7-3a85-4b5a-bda8-2d9bbe2b4c8f) you can call this endpoint with the same authorization token โ€” no additional application is required. +The OpenAI Tasks API is bundled with the existing OpenAI service. If you already have access to OpenAI Images Generations you can call this endpoint with the same authorization token โ€” no additional application is required. There is a free quota available for first-time users, allowing you to use the API for free. @@ -36,10 +38,10 @@ Supported actions on the request body: | Field | Type | Required | Description | | --- | --- | --- | --- | | `action` | string | yes | Must be `retrieve` | -| `id` | string | one of | Task ID returned by the original image request | -| `trace_id` | string | one of | Custom trace ID you supplied via `trace_id` on the original request | +| `id` | string | one of | Task ID returned synchronously by the original image request (recommended) | +| `trace_id` | string | one of | Custom trace ID, only needed if you explicitly supplied one via `trace_id` on the original request | -At least one of `id` or `trace_id` must be provided. When both are supplied, `trace_id` takes precedence. +At least one of `id` or `trace_id` must be provided. The normal flow is to use the `id` returned by the submit response โ€” supply `trace_id` only when you want to look the task up by your own business identifier. ### Code Example @@ -69,7 +71,7 @@ headers = { } payload = { "action": "retrieve", - "trace_id": "my-custom-trace-001", + "id": "7489df4c-ef03-4de0-b598-e9a590793434", } response = requests.post(url, json=payload, headers=headers) print(response.json()) @@ -84,7 +86,7 @@ When the task is found: "_id": "67a1b2c3d4e5f6a7b8c9d0e1", "id": "7489df4c-ef03-4de0-b598-e9a590793434", "trace_id": "my-custom-trace-001", - "type": "images", + "type": "images_generations", "application_id": "9dec7b2a-1cad-41ff-8536-d4ddaf2525d4", "user_id": "5d8e7f6a-1234-4abc-9def-0123456789ab", "credential_id": "68253cc8-505d-47f4-97ad-0050a62e4975", @@ -117,7 +119,7 @@ When no task matches the supplied `id` / `trace_id` the API returns an empty obj - `id` โ€” the task ID generated when the original image request was accepted. - `trace_id` โ€” the custom trace identifier you sent with the original request (optional, useful for client-side correlation). -- `type` โ€” the upstream API type. Tasks submitted via the `gpt-image` series (e.g., `gpt-image-2`) use `images`; the legacy OpenAI channel (e.g., `gpt-image-1`, nano-banana) uses `images_generations` / `images_edits`; some chat-based image APIs use `chat_completions_image`. +- `type` โ€” the upstream API type, e.g. `images_generations`, `images_edits`, `chat_completions_image`. - `request` โ€” the request body originally sent to the upstream image API. - `response` โ€” the final response returned by the upstream image API after callback completion. - `created_at` / `finished_at` / `duration` โ€” Unix timestamps (seconds) and elapsed seconds. @@ -134,7 +136,7 @@ When no task matches the supplied `id` / `trace_id` the API returns an empty obj | `trace_ids` | string[] | Look up tasks by a list of custom trace IDs | | `application_id` | string | List all tasks for an application | | `user_id` | string | List all tasks for an end user | -| `type` | string | Filter by upstream type (`images`, `images_generations`, `images_edits`) | +| `type` | string | Filter by upstream type (`images_generations`, `images_edits`, โ€ฆ) | | `offset` | int | Pagination offset (default `0`) | | `limit` | int | Page size (default `12`) | | `created_at_min` | float | Earliest creation timestamp (Unix seconds) | @@ -163,8 +165,8 @@ curl -X POST 'https://api.acedata.cloud/openai/tasks' \ "_id": "67a1b2c3d4e5f6a7b8c9d0e1", "id": "7489df4c-ef03-4de0-b598-e9a590793434", "trace_id": "my-trace-001", - "type": "images", - "request": { "model": "gpt-image-2", "prompt": "A cat" }, + "type": "images_generations", + "request": { "model": "gpt-image-1", "prompt": "A cat" }, "response": { "data": [{ "url": "https://...png" }] }, "created_at": 1763142607.967, "finished_at": 1763142637.404 @@ -176,10 +178,10 @@ curl -X POST 'https://api.acedata.cloud/openai/tasks' \ ## End-to-End Example: Submit-and-Poll -The Tasks API is most useful in callback mode. Below is a complete flow: +The Tasks API is most useful in callback mode. In callback mode the submit endpoint **returns the `task_id` to you immediately**, so the polling step just hands that `task_id` back to the Tasks API โ€” no custom `trace_id` required. ```python -import os, time, uuid, requests +import os, time, requests API = "https://api.acedata.cloud" HEADERS = { @@ -187,8 +189,8 @@ HEADERS = { "content-type": "application/json", } -# 1. Submit the image generation task with callback_url + trace_id -trace_id = str(uuid.uuid4()) +# 1. Submit the image generation task (callback mode: any callback_url makes +# the endpoint return a task_id synchronously). submit = requests.post( f"{API}/openai/images/generations", headers=HEADERS, @@ -196,17 +198,18 @@ submit = requests.post( "model": "gpt-image-1", "prompt": "a watercolor cat sitting on a desk", "callback_url": "https://webhook.site/your-uuid", - "trace_id": trace_id, }, ).json() print("submitted:", submit) -# 2. Poll the Tasks API until the task is finished +task_id = submit["task_id"] + +# 2. Poll the Tasks API with that task_id until the task is finished. while True: task = requests.post( f"{API}/openai/tasks", headers=HEADERS, - json={"action": "retrieve", "trace_id": trace_id}, + json={"action": "retrieve", "id": task_id}, ).json() if task and task.get("response"): print("finished:", task["response"]) diff --git a/wan/docs/wan_tasks_api_integration_guide.md b/wan/docs/wan_tasks_api_integration_guide.md index 907b663..619c054 100644 --- a/wan/docs/wan_tasks_api_integration_guide.md +++ b/wan/docs/wan_tasks_api_integration_guide.md @@ -6,21 +6,19 @@ This document will provide a detailed description of the Wan Tasks API integrati ## Application Process -To use the Wan Tasks API, you first need to apply for the corresponding service on the application page [Wan Videos Generation API](https://platform.acedata.cloud/documents/52b0f490-1bbf-4fe5-b60e-96626d333d2c), and then copy the task ID from the Wan Videos Generation API, as shown in the image below: +To use Wan Videos Generation API, first open the [Ace Data Cloud Console](https://platform.acedata.cloud/console/applications) and copy your API Token. -

- -Finally, go to the Tasks API page [Wan Tasks API](https://platform.acedata.cloud/documents/240ef446-cbec-461c-a633-4a64178d7018) to apply for the corresponding service. After entering the page, click the "Acquire" button, as shown in the image below: +![](https://cdn.acedata.cloud/5hmkdg.jpg) -![Application Page](https://cdn.acedata.cloud/rci31i.png) +If you are not logged in, you will be redirected to sign in and brought back to this page automatically. -If you are not logged in or registered, you will be automatically redirected to the [login page](https://platform.acedata.cloud) inviting you to register and log in. After logging in or registering, you will be automatically returned to the current page. +**A single API Token works across every service on the platform โ€” no need to subscribe per service.** New accounts receive free starter credit; when it runs low you can top up your shared balance in the [console](https://platform.acedata.cloud/console/coin). -There is a free quota available for first-time applicants, allowing you to use this API for free. +> ๐Ÿ“˜ Full documentation: [Wan Videos Generation API โ†’](https://platform.acedata.cloud/documents/wan-videos) ## Request Example -The Wan Tasks API can be used to query the results of the Wan Videos Generation API. For information on how to use the Wan Videos Generation API, please refer to the document [Wan Videos Generation API](https://platform.acedata.cloud/documents/52b0f490-1bbf-4fe5-b60e-96626d333d2c). +The Wan Tasks API can be used to query the results of the Wan Videos Generation API. For information on how to use the Wan Videos Generation API, please refer to the document [Wan Videos Generation API](https://platform.acedata.cloud/documents/wan-videos). We will take a task ID returned by the Wan Videos Generation API as an example to demonstrate how to use this API. Suppose we have a task ID: a4bca552-d964-46a1-8ff7-fd922f916582, and we will demonstrate how to pass in a task ID. diff --git a/wan/docs/wan_videos_generation_api_integration_guide.md b/wan/docs/wan_videos_generation_api_integration_guide.md index 49a89d6..9e08f97 100644 --- a/wan/docs/wan_videos_generation_api_integration_guide.md +++ b/wan/docs/wan_videos_generation_api_integration_guide.md @@ -4,13 +4,15 @@ This article will introduce the Wan Videos Generation API integration instructio ## Application Process -To use the API, you need to first apply for the corresponding service on the [Wan Videos Generation API](https://platform.acedata.cloud/documents/52b0f490-1bbf-4fe5-b60e-96626d333d2c) page. After entering the page, click the "Acquire" button, as shown in the image: +To use Wan Videos Generation API, first open the [Ace Data Cloud Console](https://platform.acedata.cloud/console/applications) and copy your API Token. -![](https://cdn.acedata.cloud/q6ytrc.png) +![](https://cdn.acedata.cloud/5hmkdg.jpg) -If you are not logged in or registered, you will be automatically redirected to the login page inviting you to register and log in. After logging in or registering, you will be automatically returned to the current page. +If you are not logged in, you will be redirected to sign in and brought back to this page automatically. -There will be a free quota offered for the first application, allowing you to use the API for free. +**A single API Token works across every service on the platform โ€” no need to subscribe per service.** New accounts receive free starter credit; when it runs low you can top up your shared balance in the [console](https://platform.acedata.cloud/console/coin). + +> ๐Ÿ“˜ Full documentation: [Wan Videos Generation API โ†’](https://platform.acedata.cloud/documents/wan-videos) ## Basic Usage @@ -80,7 +82,6 @@ curl -X POST 'https://api.acedata.cloud/wan/videos' \ ``` ## Image-to-Video Functionality - If you want to generate a video based on a reference image or reference video, you can set the parameter `action` to `image2video`, and input the required reference image link or reference video link. Next, you must fill in the prompt words needed for the next step to customize the generated video, specifying the following content: - `model`: The model for generating the video, mainly including `wan2.6-i2v`, `wan2.6-r2v`, `wan2.6-i2v-flash`, `wan2.6-t2v` models. @@ -141,7 +142,7 @@ Since the time taken by the Wan Videos Generation API is relatively long, approx The overall process is: when the client initiates a request, an additional `callback_url` field is specified. After the client initiates the API request, the API will immediately return a result containing a `task_id` field information, representing the current task ID. When the task is completed, the generated video result will be sent to the client-specified `callback_url` in the form of a POST JSON, which also includes the `task_id` field, allowing the task result to be associated by ID. -Let's understand how to operate specifically through an example. +Letโ€™s understand how to operate specifically through an example. First, the Webhook callback is a service that can receive HTTP requests, and developers should replace it with the URL of their own built HTTP server. For demonstration purposes, a public Webhook sample site https://webhook.site/ is used, and opening this site will provide a Webhook URL, as shown in the image: