diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-02-12 12:08:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 12:08:26 +0100 |
commit | dd5478636460560bd6538c6b08a81c92d61b6595 (patch) | |
tree | 128a4681385f6f1adc8bee8cf745affc0103d204 /g4f/Provider/create_images.py | |
parent | Merge pull request #1577 from hlohaus/openai (diff) | |
parent | Add variant example (diff) | |
download | gpt4free-dd5478636460560bd6538c6b08a81c92d61b6595.tar gpt4free-dd5478636460560bd6538c6b08a81c92d61b6595.tar.gz gpt4free-dd5478636460560bd6538c6b08a81c92d61b6595.tar.bz2 gpt4free-dd5478636460560bd6538c6b08a81c92d61b6595.tar.lz gpt4free-dd5478636460560bd6538c6b08a81c92d61b6595.tar.xz gpt4free-dd5478636460560bd6538c6b08a81c92d61b6595.tar.zst gpt4free-dd5478636460560bd6538c6b08a81c92d61b6595.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/create_images.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/g4f/Provider/create_images.py b/g4f/Provider/create_images.py index 9a9e3f08..2ca92432 100644 --- a/g4f/Provider/create_images.py +++ b/g4f/Provider/create_images.py @@ -7,10 +7,14 @@ from ..typing import CreateResult, Messages from ..base_provider import BaseProvider, ProviderType system_message = """ -You can generate custom images with the DALL-E 3 image generator. +You can generate images, pictures, photos or img with the DALL-E 3 image generator. To generate an image with a prompt, do this: + <img data-prompt=\"keywords for the image\"> -Don't use images with data uri. It is important to use a prompt instead. + +Never use own image links. Don't wrap it in backticks. +It is important to use a only a img tag with a prompt. + <img data-prompt=\"image caption\"> """ |