{"category":"generate","description":"Counts the words, sizes each by its share, and packs them from the centre along a spiral. The result lists the words drawn with their counts.","endpoint":"https://setget.net/v1/tools/wordcloud","examples":[{"input":{"height":360,"text":"Tea is hot. Coffee is hot. Tea with milk, coffee with sugar, tea with lemon. Green tea, black tea, iced coffee, hot chocolate, warm milk, sweet honey, fresh lemon and mint tea.","width":600},"title":"Counted from a sentence"},{"input":{"background":"#0f172a","height":400,"orientation":"horizontal","palette":"ocean","width":640,"words":{"bash":9,"c":8,"go":12,"java":16,"javascript":24,"kotlin":6,"python":30,"ruby":5,"rust":14,"sql":18,"swift":7,"typescript":20}},"title":"Weighted words on a dark background"}],"input_schema":{"additionalProperties":false,"properties":{"background":{"default":"#ffffff","description":"Background colour: hex such as #ffffff, a basic colour name, or \"transparent\".","type":"string"},"format":{"default":"png","description":"Picture format.","enum":["png","webp","jpg"],"type":"string"},"height":{"default":500,"description":"Height of the picture in pixels.","maximum":2400,"minimum":200,"type":"integer"},"max_words":{"default":100,"description":"Draw at most this many words, starting with the most frequent.","maximum":300,"minimum":1,"type":"integer"},"min_length":{"default":2,"description":"When counting text, leave out words with fewer letters than this.","maximum":20,"minimum":1,"type":"integer"},"orientation":{"default":"mixed","description":"Mixed turns about one word in five on its side. Horizontal keeps every word level.","enum":["mixed","horizontal"],"type":"string"},"palette":{"default":"bright","description":"Colours for the words.","enum":["bright","ocean","sunset","forest","berry","slate"],"type":"string"},"remove_stop_words":{"default":true,"description":"Leave out very common English words such as \"the\", \"and\" and \"with\" when counting text.","type":"boolean"},"seed":{"default":1,"description":"Change this number to get a different arrangement of the same words.","maximum":1000000,"minimum":0,"type":"integer"},"text":{"description":"Text to count words in. The more often a word appears, the larger it is drawn.","examples":["Tea is hot. Coffee is hot. Tea with milk, coffee with sugar, tea with lemon."],"maxLength":200000,"type":"string"},"width":{"default":800,"description":"Width of the picture in pixels.","maximum":2400,"minimum":200,"type":"integer"},"words":{"description":"Instead of text: an object that gives each word a weight, such as {\"coffee\": 12, \"tea\": 7}.","examples":[{"coffee":12,"milk":3,"tea":7}]}},"required":[],"type":"object"},"keywords":["word cloud","wordcloud","tag cloud","word cloud generator","word frequency picture","text cloud","wordle","keyword cloud","word art"],"related":["word-count","chart","table-image","og-card","image-convert"],"slug":"wordcloud","summary":"Make a word cloud picture from text or from a list of weighted words, with a choice of size and colours.","tier":"job","timeout_seconds":60,"title":"Word cloud generator","url":"https://setget.net/tools/wordcloud"}
