Generate a word search
generate_word_searchCreate a word-search puzzle (sopa de letras) from a list of words. Puzzles up to 10x10 with at most 10 words are free and unlimited; bigger ones use the free puzzles each client gets. Keeps native letters (Ñ, Ç, Ã, Ä, ẞ, È…) as one cell each. Returns the grid, where every word is hidden, and any words that did not fit. Empty cells are marked "-": call fill_word_search with the grid to complete it with random letters. The same seed always gives the same puzzle.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | Grid width. May differ from rows for a rectangular grid. | |
| lang | No | Language of the words. Default es. | |
| rows | Yes | Grid height. | |
| seed | No | Repeatable puzzles: same input and seed, same grid. | |
| words | Yes | Words to hide, in their normal spelling (accents kept). | |
| position | No | horizontal = left to right only, vertical = top to bottom only, mixed = all 8 directions including diagonals. | |
| clustering | No | 0 keeps words apart, 1 makes them cross. Default 0.5. | |
| difficulty | No | Used when position is not set: 1 easy (right, down) to 4 expert (all 8 directions). | |
| classicMode | No | Strip accents in the grid (ñ becomes N). |