Use this file to discover all available pages before exploring further.
Besides the offical OpenAI SDK for Ruby, there are two popular community Ruby libraries for working with OpenAI-compatible APIs: RubyLLM and ruby-openai. Both work seamlessly with Lumenfall.
RubyLLM is currently the most popular Ruby gem for AI interactions according to GitHub stars. It provides a clean, Ruby-idiomatic interface with a beautiful DSL.
You can also configure RubyLLM per-call without global setup, using RubyLLM.context:
require "ruby_llm"ctx = RubyLLM.context do |config| config.openai_api_key = ENV["LUMENFALL_API_KEY"] config.openai_api_base = "https://api.lumenfall.ai/openai/v1"endimage = ctx.paint( "A capybara relaxing in a hot spring", model: "gemini-3-pro-image", size: "1024x1024", provider: "openai", assume_model_exists: true)puts image.url
This is useful when you need to make multiple calls with the same configuration or when you need to use different API credentials in different parts of your application.
RubyLLM does not support image editing. This is a known limitation tracked in GitHub issue #512.To edit images with Lumenfall, use an alternative SDK or make a HTTP call.