annotation / call_assistant_api.sh
MudeHui's picture
Add application file
1fb65ae
curl --location --request POST 'https://search.bytedance.net/gpt/openapi/online/v2/crawl?ak=hpjWvnz7wM2mzDg4Ggnt96xcOjeYcktj' \
--header 'Content-Type: application/json' \
--data-raw '{"prompt": "A poster of Microsoft","size": "1024x1024","quality": "standard", "style": "vivid", "n": 1, "model": "dall-e-3"}'
# // response
# {
# "created": 1702889995,
# "data": [
# {
# "url": "https://dalleprodsec.blob.core.windows.net/private/images/0811eacd-bf25-4961-814f-36d7f453907c/generated_00.png?se=2023-12-19T09%3A00%3A09Z&sig=cIRz7je1Qbjlt5GjeyLGKoxPRFggr7NAxLSeeCuGyYk%3D&ske=2023-12-22T11%3A18%3A13Z&skoid=e52d5ed7-0657-4f62-bc12-7e5dbb260a96&sks=b&skt=2023-12-15T11%3A18%3A13Z&sktid=33e01921-4d64-4f8c-a055-5bdaffd5e33d&skv=2020-10-02&sp=r&spr=https&sr=b&sv=2020-10-02",
# "revised_prompt": "A designed poster featuring the logo of a prominent technology company, accompanied by various emboldened text denoting the company's name and a motivational slogan. The distinct, four rectangular logo in bright colors is situated at the center of the poster, against a plain background. The composition strikes a balance between minimalism and impact, typifying the company's powerful image in the global technology industry."
# }
# ]
# }