Skip to content

Conversation

@jelveh
Copy link
Contributor

@jelveh jelveh commented Nov 5, 2025

This PR updates the documentation for txt2img to include the recently-added models from together ai.

Comment on lines +11 to +12
puter.ai.txt2img(prompt, testModeOrOptions?)
puter.ai.txt2img({ prompt, ...options })
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think this is expected, AI is hallucinating

Copy link
Collaborator

@reynaldichernando reynaldichernando Nov 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually just checked the code, its true that we are adding the single object thing

maybe we should just have it as addition rather than doing the testModeOrOptions?

puter.ai.txt2img(prompt, testMode = false)
puter.ai.txt2img(prompt, options = {})
puter.ai.txt2img(options = {})
// or what above is not that bad
puter.ai.txt2img({prompt, ...options})

@reynaldichernando
Copy link
Collaborator

reynaldichernando commented Nov 6, 2025

Other than above, i'll trust what the other model specific options says

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants