Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- message = """If you can't see the image or can't help me, write </noimage>
- Use up to 10 words
- Start with "icon of..."
- """
- client.chat.completions.create(
- model="gpt-4-vision-preview",
- messages=[
- {"role": "system", "content": "write prompts for icons"},
- {
- 'role': 'user',
- 'content': [
- {
- 'type': 'text',
- 'text': message,
- },
- {"image": base64_image}
- ],
- },
- ],
- max_tokens=30,
- temperature=0,
- )
Add Comment
Please, Sign In to add comment